]> Dogcows Code - chaz/openbox/commitdiff
disable the decorate option for non-normal (undecorated) windows
authorDana Jansens <danakj@orodu.net>
Thu, 9 Oct 2003 16:51:22 +0000 (16:51 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 9 Oct 2003 16:51:22 +0000 (16:51 +0000)
openbox/client_menu.c

index 083341ca4bac832c27d50e8b96f0b2b728bd1e78..d7f26e3e1d73d2c0e0193af977d4eeea0fa89471 100644 (file)
@@ -89,6 +89,9 @@ static void client_update(ObMenuFrame *frame, gpointer data)
 
     e = menu_find_entry_id(menu, CLIENT_CLOSE);
     e->data.normal.enabled = frame->client->functions & OB_CLIENT_FUNC_CLOSE;
+
+    e = menu_find_entry_id(menu, CLIENT_DECORATE);
+    e->data.normal.enabled = client_normal(frame->client);
 }
 
 static void layer_update(ObMenuFrame *frame, gpointer data)
This page took 0.024143 seconds and 4 git commands to generate.