was not disabling the normal layer when appropriate
This commit is contained in:
parent
ec9dd7fdd7
commit
0e29139be4
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ static void layer_update(ObMenuFrame *frame, gpointer data)
|
||||||
e->data.normal.enabled = !frame->client->above;
|
e->data.normal.enabled = !frame->client->above;
|
||||||
|
|
||||||
e = menu_find_entry_id(menu, LAYER_NORMAL);
|
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 = menu_find_entry_id(menu, LAYER_BOTTOM);
|
||||||
e->data.normal.enabled = !frame->client->below;
|
e->data.normal.enabled = !frame->client->below;
|
||||||
|
|
Loading…
Reference in a new issue