From: Dana Jansens Date: Wed, 11 Jul 2007 01:28:14 +0000 (+0000) Subject: backwardsness X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=3a4236a2280b148b2b4b341f035b3dd84353370c;p=chaz%2Fopenbox backwardsness --- diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 81e7cb00..59c1b1b8 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -716,7 +716,7 @@ gboolean moveresize_event(XEvent *e) lockcorner = OB_CORNER_BOTTOMRIGHT; } else if (corner == prop_atoms.net_wm_moveresize_size_top) { dw = 0; - dh = (e->xmotion.y_root - start_y); + dh = -(e->xmotion.y_root - start_y); lockcorner = OB_CORNER_BOTTOMRIGHT; } else if (corner == prop_atoms.net_wm_moveresize_size_topright) { dw = (e->xmotion.x_root - start_x);