From: Mikael Magnusson Date: Wed, 7 Jul 2004 01:00:57 +0000 (+0000) Subject: disable growtoedge for shaded windows for now X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=cd6a851483f9ad78148c9ada58c513d06f23b6aa;p=chaz%2Fopenbox disable growtoedge for shaded windows for now --- diff --git a/openbox/action.c b/openbox/action.c index 0ab6120d..921e7eec 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -1467,6 +1467,10 @@ void action_growtoedge(union ActionData *data) ObClient *c = data->diraction.any.c; Rect *a; + //FIXME growtoedge resizes shaded windows to 0 height + if (c->shaded) + return; + a = screen_area(c->desktop); x = c->frame->area.x; y = c->frame->area.y;