]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
eat enter events when the new alttab popup hides
[chaz/openbox] / openbox / client.c
index ce092aa88a9a5b36701dd6d4e7c39fa59c81a9fd..68dfedce3468ba67d5874910ec3ef3692627668f 100644 (file)
@@ -937,10 +937,10 @@ gboolean client_find_onscreen(ObClient *self, gint *x, gint *y, gint w, gint h,
         POINT_SET(newbl, newtl.x, newbr.y);
 
         /* is it moving or just resizing from some corner? */
-        stationary_l = oldtl.x == oldtl.x;
-        stationary_r = oldtr.x == oldtr.x;
-        stationary_t = oldtl.y == oldtl.y;
-        stationary_b = oldbl.y == oldbl.y;
+        stationary_l = oldtl.x == newtl.x;
+        stationary_r = oldtr.x == newtr.x;
+        stationary_t = oldtl.y == newtl.y;
+        stationary_b = oldbl.y == newbl.y;
 
         /* if left edge is growing and didnt move right edge */
         if (stationary_r && newtl.x < oldtl.x)
This page took 0.024836 seconds and 4 git commands to generate.