]> Dogcows Code - chaz/openbox/commitdiff
backwardsness
authorDana Jansens <danakj@orodu.net>
Wed, 11 Jul 2007 01:28:14 +0000 (01:28 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 11 Jul 2007 01:28:14 +0000 (01:28 +0000)
openbox/moveresize.c

index 81e7cb007d0d36d3a49447f99e41c2d96ded8672..59c1b1b81118e1f878b5c72dbb8fce81af27d2e9 100644 (file)
@@ -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);
This page took 0.024918 seconds and 4 git commands to generate.