From b288fdee411495fba48465c1af3eea4002e93241 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 16 Sep 2003 08:02:13 +0000 Subject: [PATCH] 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. --- openbox/moveresize.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.45.2