From cd6a851483f9ad78148c9ada58c513d06f23b6aa Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 7 Jul 2004 01:00:57 +0000 Subject: [PATCH] disable growtoedge for shaded windows for now --- openbox/action.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.2