From 4a7f0abf4ffecb52957d1df8500a013d0b5cdb04 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 14 Jul 2010 17:42:53 +0200 Subject: [PATCH] Don't reparent systray windows on exit Since the last commit, systray windows will automatically be reparented by the X11 server. This means we no longer have to do this ourselves. Signed-off-by: Uli Schlachter --- awesome.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/awesome.c b/awesome.c index c2515cf1a..374b51042 100644 --- a/awesome.c +++ b/awesome.c @@ -69,14 +69,6 @@ awesome_atexit(void) a_dbus_cleanup(); - /* reparent systray windows, otherwise they may die with their master */ - for(int i = 0; i < globalconf.embedded.len; i++) - { - xcb_screen_t *s = xutil_screen_get(globalconf.connection, - globalconf.embedded.tab[i].phys_screen); - xembed_window_unembed(globalconf.connection, globalconf.embedded.tab[i].win, s->root); - } - /* do this only for real screen */ const xcb_setup_t *setup = xcb_get_setup(globalconf.connection); nscreens = setup ? xcb_setup_roots_length(setup) : -1;