From: Dana Jansens Date: Tue, 16 Sep 2003 08:02:13 +0000 (+0000) Subject: dont assert if a moveresize is started while one is in progress. apps could do this... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b288fdee411495fba48465c1af3eea4002e93241;p=chaz%2Fopenbox dont assert if a moveresize is started while one is in progress. apps could do this with client messages, or the user can easily do it with actions. --- diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 447869aa..6a0e9777 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -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;