From b2a0df8e89b3f4bbedd8c648778042e079a1cb13 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 3 Sep 2003 22:02:21 +0000 Subject: [PATCH] don't let move/resize occur on non-visible clients --- openbox/moveresize.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openbox/moveresize.c b/openbox/moveresize.c index 8928a995..c0962fff 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -71,6 +71,9 @@ void moveresize_start(ObClient *c, int x, int y, guint b, guint32 cnr) g_assert(!moveresize_in_progress); + if (!c->frame->visible) + return; + moveresize_client = c; start_cx = c->frame->area.x; start_cy = c->frame->area.y; -- 2.44.0