]> Dogcows Code - chaz/openbox/commitdiff
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 0ab6120deabc149a1ca1d38b1e4d5de4c9c4a4f6..921e7eec25f3b7f1cca116a7fdcd6ea8f2b2068f 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;
This page took 0.026187 seconds and 4 git commands to generate.