disable growtoedge for shaded windows for now
authorMikael Magnusson <mikachu@comhem.se>
Wed, 7 Jul 2004 01:00:57 +0000 (01:00 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 7 Jul 2004 01:00:57 +0000 (01:00 +0000)
openbox/action.c

index 0ab6120..921e7ee 100644 (file)
@@ -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;