From: Dana Jansens Date: Thu, 28 Aug 2003 18:33:02 +0000 (+0000) Subject: was not disabling the normal layer when appropriate X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=0e29139be4faf90baa936b026be7848871460c97;p=chaz%2Fopenbox was not disabling the normal layer when appropriate --- diff --git a/plugins/menu/client_menu.c b/plugins/menu/client_menu.c index 55dbacf1..2514c7c2 100644 --- a/plugins/menu/client_menu.c +++ b/plugins/menu/client_menu.c @@ -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;