disable the decorate option for non-normal (undecorated) windows

This commit is contained in:
Dana Jansens 2003-10-09 16:51:22 +00:00
parent 5c390b9344
commit 0843ff29b8

View 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)