#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)
stacking_raise(CLIENT_AS_WINDOW(c));
}
}
-
+
/* change our struts/area to match (after moving windows) */
screen_update_areas();
guint old;
gulong ignore_start;
gboolean allow_omni;
-
+
g_assert(num < screen_num_desktops);
old = screen_desktop;
if (PROP_GETA32(RootWindow(ob_display, ob_screen),
net_desktop_layout, cardinal, &data, &num)) {
if (num == 3 || num == 4) {
-
+
if (data[0] == prop_atoms.net_wm_orientation_vert)
l.orientation = OB_ORIENTATION_VERT;
else if (data[0] == prop_atoms.net_wm_orientation_horz)
void screen_show_desktop(gboolean show, ObClient *show_only)
{
GList *it;
-
+
if (show == screen_showing_desktop) return; /* no change */
screen_showing_desktop = show;
g_free(m);
}
-
+
return a;
}
#endif