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;