]> Dogcows Code - chaz/openbox/commitdiff
when canceling focus cycling, cancel both normal and directional
authorDana Jansens <danakj@orodu.net>
Sat, 26 May 2007 20:48:52 +0000 (20:48 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 26 May 2007 20:48:52 +0000 (20:48 +0000)
openbox/focus_cycle.c

index 1fef375480d41d7f06f85b2d68334b1700173994..cb6678d27002128ab5afe407273e77e40b0b6937 100644 (file)
@@ -62,8 +62,10 @@ void focus_cycle_shutdown(gboolean reconfig)
 
 void focus_cycle_stop()
 {
-    if (focus_cycle_target)
+    if (focus_cycle_target) {
         focus_cycle(TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE);
+        focus_directional_cycle(0, TRUE, TRUE, TRUE, TRUE, TRUE, TRUE);
+    }
 }
 
 static void focus_cycle_destroy_notify(ObClient *client, gpointer data)
This page took 0.028658 seconds and 4 git commands to generate.