was not disabling the normal layer when appropriate

This commit is contained in:
Dana Jansens 2003-08-28 18:33:02 +00:00
parent ec9dd7fdd7
commit 0e29139be4

View file

@ -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;