]> Dogcows Code - chaz/openbox/commitdiff
was not disabling the normal layer when appropriate
authorDana Jansens <danakj@orodu.net>
Thu, 28 Aug 2003 18:33:02 +0000 (18:33 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 28 Aug 2003 18:33:02 +0000 (18:33 +0000)
plugins/menu/client_menu.c

index 55dbacf1716fc66811de60a979cdbc1e0cc11c73..2514c7c2c98b19177c4032742107d259b4add367 100644 (file)
@@ -90,7 +90,7 @@ static void layer_update(ObMenuFrame *frame, gpointer data)
     e->data.normal.enabled = !frame->client->above;
 
     e = menu_find_entry_id(menu, LAYER_NORMAL);
-    e->data.normal.enabled = !(frame->client->above || frame->client->below);
+    e->data.normal.enabled = (frame->client->above || frame->client->below);
 
     e = menu_find_entry_id(menu, LAYER_BOTTOM);
     e->data.normal.enabled = !frame->client->below;
This page took 0.023566 seconds and 4 git commands to generate.