]> Dogcows Code - chaz/openbox/commitdiff
dont leave the focus indicator hanging around when dialogs are disabled
authorDana Jansens <danakj@orodu.net>
Fri, 10 Oct 2003 05:56:12 +0000 (05:56 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 10 Oct 2003 05:56:12 +0000 (05:56 +0000)
openbox/focus.c

index 59e07f5e19ee2659206a78d947befa1f3ca3723c..de346ead98ddefe1a64a9c7ba9e805a9372d97bf 100644 (file)
@@ -526,9 +526,8 @@ void focus_cycle(gboolean forward, gboolean linear,
     if (cancel) {
         focus_cycle_target = NULL;
         goto done_cycle;
-    } else if (done && dialog) {
+    } else if (done)
         goto done_cycle;
-    }
 
     if (!focus_order[screen_desktop])
         goto done_cycle;
@@ -588,9 +587,8 @@ void focus_directional_cycle(ObDirection dir,
     if (cancel) {
         focus_cycle_target = NULL;
         goto done_cycle;
-    } else if (done && dialog) {
+    } else if (done)
         goto done_cycle;
-    }
 
     if (!focus_order[screen_desktop])
         goto done_cycle;
This page took 0.022882 seconds and 4 git commands to generate.