From: Dana Jansens Date: Wed, 3 Sep 2003 22:02:21 +0000 (+0000) Subject: don't let move/resize occur on non-visible clients X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b2a0df8e89b3f4bbedd8c648778042e079a1cb13;p=chaz%2Fopenbox don't let move/resize occur on non-visible clients --- 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;