]> Dogcows Code - chaz/openbox/commitdiff
fix cancelling desktordir actions
authorDana Jansens <danakj@orodu.net>
Sat, 27 Sep 2003 05:57:08 +0000 (05:57 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 27 Sep 2003 05:57:08 +0000 (05:57 +0000)
openbox/action.c

index 82831ed122b0c213b4436236e9f0485e12d16869..870e8f76ccd025fb3911b5a81b6167686e0f3ebe 100644 (file)
@@ -1251,7 +1251,8 @@ void action_desktop_dir(union ActionData *data)
                              data->desktopdir.inter.final,
                              data->desktopdir.inter.cancel);
     if (!data->sendtodir.inter.any.interactive ||
-        !data->sendtodir.inter.final)
+        !data->sendtodir.inter.final ||
+        data->sendtodir.inter.cancel)
     {
         screen_set_desktop(d);
     }
@@ -1270,7 +1271,8 @@ void action_send_to_desktop_dir(union ActionData *data)
                              data->sendtodir.inter.final,
                              data->sendtodir.inter.cancel);
     if (!data->sendtodir.inter.any.interactive ||
-        !data->sendtodir.inter.final)
+        !data->sendtodir.inter.final ||
+        data->sendtodir.inter.cancel)
     {
         client_set_desktop(c, d, data->sendtodir.follow);
         if (data->sendtodir.follow)
This page took 0.024192 seconds and 4 git commands to generate.