From 16d90af91d0040f939c64edc502c363360485a91 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 14 Oct 2010 12:54:38 +0200 Subject: [PATCH] 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 --- systray.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/systray.c b/systray.c index 9fbaa1e9e..bcfd75760 100644 --- a/systray.c +++ b/systray.c @@ -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.