From 32c3a97f2e6d029cfb183deb03ebd6963166ead1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 12 Jan 2008 13:31:46 -0500 Subject: [PATCH] fix a copy/paste bug in placing the move&resize popup --- openbox/moveresize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2