]> Dogcows Code - chaz/openbox/commitdiff
fix a copy/paste bug in placing the move&resize popup
authorDana Jansens <danakj@orodu.net>
Sat, 12 Jan 2008 18:31:46 +0000 (13:31 -0500)
committerDana Jansens <danakj@orodu.net>
Sat, 12 Jan 2008 18:31:46 +0000 (13:31 -0500)
openbox/moveresize.c

index 8dc122c7947f9e1803349ee3976f5a9322308674..675cbe9cc8ae78ac1c15132a756130067941ffd0 100644 (file)
@@ -126,7 +126,7 @@ static void popup_coords(ObClient *c, const gchar *format, gint a, gint b)
 
         y = config_resize_popup_fixed.y.pos;
         if (config_resize_popup_fixed.y.center)
-            y = area->y + area->width/2;
+            y = area->y + area->height/2;
         else if (config_resize_popup_fixed.y.opposite)
             y = RECT_RIGHT(*area) - y;
         else
This page took 0.024906 seconds and 4 git commands to generate.