From: Dana Jansens Date: Thu, 9 Oct 2003 16:51:22 +0000 (+0000) Subject: disable the decorate option for non-normal (undecorated) windows X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=0843ff29b8a94af2bd2226132abd7ec160d4bc2c;p=chaz%2Fopenbox disable the decorate option for non-normal (undecorated) windows --- diff --git a/openbox/client_menu.c b/openbox/client_menu.c index 083341ca..d7f26e3e 100644 --- a/openbox/client_menu.c +++ b/openbox/client_menu.c @@ -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)