backwardsness

This commit is contained in:
Dana Jansens 2007-07-11 01:28:14 +00:00
parent 5ae93282f9
commit 3a4236a228

View file

@ -716,7 +716,7 @@ gboolean moveresize_event(XEvent *e)
lockcorner = OB_CORNER_BOTTOMRIGHT; lockcorner = OB_CORNER_BOTTOMRIGHT;
} else if (corner == prop_atoms.net_wm_moveresize_size_top) { } else if (corner == prop_atoms.net_wm_moveresize_size_top) {
dw = 0; dw = 0;
dh = (e->xmotion.y_root - start_y); dh = -(e->xmotion.y_root - start_y);
lockcorner = OB_CORNER_BOTTOMRIGHT; lockcorner = OB_CORNER_BOTTOMRIGHT;
} else if (corner == prop_atoms.net_wm_moveresize_size_topright) { } else if (corner == prop_atoms.net_wm_moveresize_size_topright) {
dw = (e->xmotion.x_root - start_x); dw = (e->xmotion.x_root - start_x);