summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/moveresize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c
index 8dc122c7..675cbe9c 100644
--- a/openbox/moveresize.c
+++ b/openbox/moveresize.c
@@ -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