]> Dogcows Code - chaz/openbox/commitdiff
some typos
authorDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 01:59:18 +0000 (01:59 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 01:59:18 +0000 (01:59 +0000)
openbox/client.c
openbox/menuframe.c
openbox/place.c

index df494a9fc1d3edb95a40894e1801389050c1e690..71be0f94656baf078a48cfb25405da2e75e75b13 100644 (file)
@@ -1980,7 +1980,7 @@ void client_update_strut(ObClient *self)
     if (!got &&
         PROP_GETA32(self->window, net_wm_strut, cardinal, &data, &num)) {
         if (num == 4) {
-            const Rect *a;
+            Rect *a;
 
             got = TRUE;
 
index 4f5a34d8d095c2f5d460406c3194627f4a778296..fdb24afbad7b388ab6b89a279f20c6ef4092b12b 100644 (file)
@@ -952,7 +952,7 @@ gboolean menu_frame_show_topmenu(ObMenuFrame *self, gint x, gint y,
 
     /* find the monitor the menu is on */
     for (i = 0; i < screen_num_monitors; ++i) {
-        Rect a = screen_physical_area_monitor(i);
+        Rect *a = screen_physical_area_monitor(i);
         gboolean contains = RECT_CONTAINS(*a, x, y);
         g_free(a);
         if (contains) {
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.03125 seconds and 4 git commands to generate.