#include "moveresize.h"
#include "config.h"
#include "screen.h"
+#include "composite.h"
#include "client.h"
#include "session.h"
#include "frame.h"
for (it = client_list; it; it = g_list_next(it))
client_move_onscreen(it->data, FALSE);
+
+ /* this needs to be setup whenever the root window's size changes */
+ composite_setup_root_window();
}
void screen_set_num_desktops(guint num)
else if (screen_desktop == num - 1 &&
(c->desktop == DESKTOP_ALL ||
c->desktop == screen_desktop))
- stacking_raise(WINDOW_AS_CLIENT(c));
+ stacking_raise(CLIENT_AS_WINDOW(c));
}
}