X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.c;h=6f711ce8c5b03cbeb536f87221bb8a10cb70604e;hb=d298cfb786d84ad686a51ad72133a232af39bf85;hp=a9efcd0e06a85fd58e248e6c0a491c7029f5a93d;hpb=2c6c0757fa497f4c1e0648bcbb1927c0fa12862f;p=chaz%2Fopenbox diff --git a/openbox/screen.c b/openbox/screen.c index a9efcd0e..6f711ce8 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -594,8 +594,7 @@ guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear, if (cancel) { d = origd; goto done_cycle; - } else if (done) { - screen_set_desktop(d); + } else if (done && dialog) { goto done_cycle; } if (first) {