diff --git a/awesome.c b/awesome.c index e4945d94e..e209baffd 100644 --- a/awesome.c +++ b/awesome.c @@ -72,6 +72,13 @@ awesome_atexit(bool restart) lua_pushboolean(globalconf.L, restart); signal_object_emit(globalconf.L, &global_signals, "exit", 1); + /* Move clients where we want them to be */ + foreach(c, globalconf.clients) + { + xcb_reparent_window(globalconf.connection, (*c)->window, globalconf.screen->root, + (*c)->geometry.x, (*c)->geometry.y); + } + a_dbus_cleanup(); systray_cleanup();