diff --git a/src/modules/i3.cpp b/src/modules/i3.cpp index 2da43fef..f5a590f3 100644 --- a/src/modules/i3.cpp +++ b/src/modules/i3.cpp @@ -128,10 +128,10 @@ namespace modules { ws_state = state::FOCUSED; } else if (ws->urgent) { ws_state = state::URGENT; - } else if (!ws->visible || (ws->visible && ws->output != m_bar.monitor->name)) { - ws_state = state::UNFOCUSED; - } else { + } else if (ws->visible) { ws_state = state::VISIBLE; + } else { + ws_state = state::UNFOCUSED; } string ws_name{ws->name};