From: Dana Jansens Date: Sat, 12 Jan 2008 18:31:46 +0000 (-0500) Subject: fix a copy/paste bug in placing the move&resize popup X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=32c3a97f2e6d029cfb183deb03ebd6963166ead1;p=chaz%2Fopenbox fix a copy/paste bug in placing the move&resize popup --- 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