]> Dogcows Code - chaz/openbox/blobdiff - openbox/place.c
bugfix
[chaz/openbox] / openbox / place.c
index 2d14f5bd30ed9c7b54779aff2d59308fdfb42f1f..6bcfe9d8df0d107bdf07424d7ab8f0e93cd3622f 100644 (file)
@@ -112,15 +112,16 @@ static Rect **pick_head(ObClient *c)
 
     screen_pointer_pos(&px, &py);
 
-    for (i = 0; i < screen_num_monitors; i++)
+    for (i = 0; i < screen_num_monitors; i++) {
         Rect *monitor = screen_physical_area_monitor(i);
         gboolean contain = RECT_CONTAINS(*monitor, px, py);
         g_free(monitor);
-        if (contain)
+        if (contain) {
             add_choice(choice, i);
             ob_debug("placement adding choice %d for mouse pointer\n", i);
             break;
         }
+    }
 
     /* add any leftover choices */
     for (i = 0; i < screen_num_monitors; ++i)
This page took 0.020133 seconds and 4 git commands to generate.