Systray: Remove a now-useless default background
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
107ba3fefc
commit
fc44f4a049
|
@ -40,7 +40,6 @@ void
|
||||||
systray_init(void)
|
systray_init(void)
|
||||||
{
|
{
|
||||||
xcb_screen_t *xscreen = globalconf.screen;
|
xcb_screen_t *xscreen = globalconf.screen;
|
||||||
uint32_t values[] = { xscreen->white_pixel };
|
|
||||||
|
|
||||||
globalconf.systray.window = xcb_generate_id(globalconf.connection);
|
globalconf.systray.window = xcb_generate_id(globalconf.connection);
|
||||||
xcb_create_window(globalconf.connection, xscreen->root_depth,
|
xcb_create_window(globalconf.connection, xscreen->root_depth,
|
||||||
|
@ -48,7 +47,7 @@ systray_init(void)
|
||||||
xscreen->root,
|
xscreen->root,
|
||||||
-1, -1, 1, 1, 0,
|
-1, -1, 1, 1, 0,
|
||||||
XCB_COPY_FROM_PARENT, xscreen->root_visual,
|
XCB_COPY_FROM_PARENT, xscreen->root_visual,
|
||||||
XCB_CW_BACK_PIXEL, values);
|
0, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Register systray in X.
|
/** Register systray in X.
|
||||||
|
|
Loading…
Reference in New Issue