X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=f109bab2bbe06e9a51bc3f5e89211e3303f407d6;hb=8fe0cb8989c1fe12b30b9030b446345f25340d35;hp=656206bf712d94420821126f69a85564112ba1d4;hpb=0f544808b8372a6c8a2cbfae214f2803dd3c6170;p=chaz%2Fopenbox 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 */