summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 656206bf..f109bab2 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -5,6 +5,7 @@
#include "prop.h"
#include "grab.h"
#include "startupnotify.h"
+#include "moveresize.h"
#include "config.h"
#include "screen.h"
#include "client.h"
@@ -410,6 +411,9 @@ void screen_set_desktop(guint num)
ob_debug("Moving to desktop %d\n", num+1);
+ if (moveresize_client)
+ client_set_desktop(moveresize_client, num, TRUE);
+
/* show windows before hiding the rest to lessen the enter/leave events */
/* show windows from top to bottom */