]> Dogcows Code - chaz/openbox/blobdiff - openbox/moveresize.c
sync before removing all the enter events. this way it actually catches them
[chaz/openbox] / openbox / moveresize.c
index c0962fff30f5a6d21c050d857347cf44b2a1cdf5..0abb8e8d5a8d53fbda25ec1122653b464bfabc28 100644 (file)
@@ -82,8 +82,8 @@ void moveresize_start(ObClient *c, int x, int y, guint b, guint32 cnr)
        increment instead of at 0, so you have to move half an increment
        either way instead of a full increment one and 1 px the other. and this
        is one large mother fucking comment. */
-    start_cw = c->area.width + (c->size_inc.width + 1) / 2;
-    start_ch = c->area.height + (c->size_inc.height + 1) / 2;
+    start_cw = c->area.width + c->size_inc.width / 2;
+    start_ch = c->area.height + c->size_inc.height / 2;
     start_x = x;
     start_y = y;
     corner = cnr;
This page took 0.020002 seconds and 4 git commands to generate.