diff --git a/src/ssd/ssd-titlebar.c b/src/ssd/ssd-titlebar.c index 0946506c..8d6f5f23 100644 --- a/src/ssd/ssd-titlebar.c +++ b/src/ssd/ssd-titlebar.c @@ -299,7 +299,7 @@ ssd_titlebar_update(struct ssd *ssd) ssd->state.was_omnipresent = view->visible_on_all_workspaces; } - if (ssd->state.was_ontop != (view->layer == VIEW_LAYER_ALWAYS_ON_TOP)) { + if (ssd->state.was_ontop != view->layer) { set_alt_button_icon(ssd, LAB_NODE_BUTTON_ONTOP, view->layer); ssd->state.was_ontop = view->layer;