From 0e29139be4faf90baa936b026be7848871460c97 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 28 Aug 2003 18:33:02 +0000 Subject: [PATCH] was not disabling the normal layer when appropriate --- plugins/menu/client_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2