]> Dogcows Code - chaz/openbox/commitdiff
don't let move/resize occur on non-visible clients
authorDana Jansens <danakj@orodu.net>
Wed, 3 Sep 2003 22:02:21 +0000 (22:02 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 3 Sep 2003 22:02:21 +0000 (22:02 +0000)
openbox/moveresize.c

index 8928a995d75d7bb55935e2e71e33dca204f3073e..c0962fff30f5a6d21c050d857347cf44b2a1cdf5 100644 (file)
@@ -71,6 +71,9 @@ void moveresize_start(ObClient *c, int x, int y, guint b, guint32 cnr)
 
     g_assert(!moveresize_in_progress);
 
+    if (!c->frame->visible)
+        return;
+
     moveresize_client = c;
     start_cx = c->frame->area.x;
     start_cy = c->frame->area.y;
This page took 0.028192 seconds and 4 git commands to generate.