fix(i3): Workspace state when visible on unfocused monitor
This commit is contained in:
parent
2912f0f3f2
commit
fb709aeab3
@ -128,10 +128,10 @@ namespace modules {
|
|||||||
ws_state = state::FOCUSED;
|
ws_state = state::FOCUSED;
|
||||||
} else if (ws->urgent) {
|
} else if (ws->urgent) {
|
||||||
ws_state = state::URGENT;
|
ws_state = state::URGENT;
|
||||||
} else if (!ws->visible || (ws->visible && ws->output != m_bar.monitor->name)) {
|
} else if (ws->visible) {
|
||||||
ws_state = state::UNFOCUSED;
|
|
||||||
} else {
|
|
||||||
ws_state = state::VISIBLE;
|
ws_state = state::VISIBLE;
|
||||||
|
} else {
|
||||||
|
ws_state = state::UNFOCUSED;
|
||||||
}
|
}
|
||||||
|
|
||||||
string ws_name{ws->name};
|
string ws_name{ws->name};
|
||||||
|
Loading…
Reference in New Issue
Block a user