Set the systray background to white
This has to be enough until someone comes up with a good idea what to set the systray background to. :/ Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
8bca1025ac
commit
16d90af91d
|
@ -40,13 +40,15 @@ void
|
|||
systray_init(void)
|
||||
{
|
||||
xcb_screen_t *xscreen = globalconf.screen;
|
||||
uint32_t values[] = { xscreen->white_pixel };
|
||||
|
||||
globalconf.systray.window = xcb_generate_id(globalconf.connection);
|
||||
xcb_create_window(globalconf.connection, xscreen->root_depth,
|
||||
globalconf.systray.window,
|
||||
xscreen->root,
|
||||
-1, -1, 1, 1, 0,
|
||||
XCB_COPY_FROM_PARENT, xscreen->root_visual, 0, NULL);
|
||||
XCB_COPY_FROM_PARENT, xscreen->root_visual,
|
||||
XCB_CW_BACK_PIXEL, values);
|
||||
}
|
||||
|
||||
/** Register systray in X.
|
||||
|
|
Loading…
Reference in New Issue