summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2004-07-07 01:00:57 +0000
committerMikael Magnusson <mikachu@comhem.se>2004-07-07 01:00:57 +0000
commitcd6a851483f9ad78148c9ada58c513d06f23b6aa (patch)
tree5467e901b5e1ccd9bced84e3048f0d8b9b3f05ca /openbox
parent62e23821b8a13b172daa1bf49b474ed8e3b81827 (diff)
disable growtoedge for shaded windows for now
Diffstat (limited to 'openbox')
-rw-r--r--openbox/action.c4
1 files changed, 4 insertions, 0 deletions
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;