systray: send event with NO_EVENT mask
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
b1eb046aec
commit
f27fd17fd4
8
client.c
8
client.c
|
@ -72,10 +72,10 @@ client_loadprops(client_t * c, screen_t *screen)
|
||||||
char *prop = NULL;
|
char *prop = NULL;
|
||||||
|
|
||||||
if(!xutil_gettextprop(globalconf.connection, c->win, &globalconf.atoms,
|
if(!xutil_gettextprop(globalconf.connection, c->win, &globalconf.atoms,
|
||||||
xutil_intern_atom_reply(globalconf.connection, &globalconf.atoms,
|
xutil_intern_atom_reply(globalconf.connection, &globalconf.atoms,
|
||||||
xutil_intern_atom(globalconf.connection,
|
xutil_intern_atom(globalconf.connection,
|
||||||
&globalconf.atoms,
|
&globalconf.atoms,
|
||||||
"_AWESOME_PROPERTIES")),
|
"_AWESOME_PROPERTIES")),
|
||||||
&prop))
|
&prop))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ systray_init(int phys_screen)
|
||||||
atom_systray,
|
atom_systray,
|
||||||
XCB_CURRENT_TIME);
|
XCB_CURRENT_TIME);
|
||||||
|
|
||||||
xcb_send_event(globalconf.connection, false, xscreen->root, XCB_EVENT_MASK_STRUCTURE_NOTIFY, (char *) &ev);
|
xcb_send_event(globalconf.connection, false, xscreen->root, XCB_EVENT_MASK_NO_EVENT, (char *) &ev);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Handle a systray request.
|
/** Handle a systray request.
|
||||||
|
|
Loading…
Reference in New Issue