summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-16 08:02:13 +0000
committerDana Jansens <danakj@orodu.net>2003-09-16 08:02:13 +0000
commitb288fdee411495fba48465c1af3eea4002e93241 (patch)
treec186173604d92ec9bd0ab3b5e99b62ece0ec8c67 /openbox
parent3ce8f836749c9f74f6888251f0a7f2ff601830c0 (diff)
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.
Diffstat (limited to 'openbox')
-rw-r--r--openbox/moveresize.c4
1 files changed, 1 insertions, 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;