]> Dogcows Code - chaz/openbox/commitdiff
dont assert if a moveresize is started while one is in progress. apps could do this...
authorDana Jansens <danakj@orodu.net>
Tue, 16 Sep 2003 08:02:13 +0000 (08:02 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 16 Sep 2003 08:02:13 +0000 (08:02 +0000)
openbox/moveresize.c

index 447869aa29435a56399042cc501f49ba6b7a3430..6a0e97776514c67d9badf16242413af2e864f217 100644 (file)
@@ -72,9 +72,7 @@ void moveresize_start(ObClient *c, int x, int y, guint b, guint32 cnr)
 {
     ObCursor cur;
 
-    g_assert(!moveresize_in_progress);
-
-    if (!c->frame->visible)
+    if (moveresize_in_progress || !c->frame->visible)
         return;
 
     moveresize_client = c;
This page took 0.022301 seconds and 4 git commands to generate.