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 8928a99..c0962ff 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;