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 <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-07-14 17:42:53 +02:00
parent 775ea16efa
commit 4a7f0abf4f
1 changed files with 0 additions and 8 deletions

View File

@ -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;