dwm: Fix title initialization
Title was being set on module startup to the active monitor's selected window title instead of the bar monitor's.
This commit is contained in:
parent
399a797b45
commit
a7e9dcb0db
@ -81,7 +81,7 @@ namespace modules {
|
||||
|
||||
// These events are only necessary to update the focused window title
|
||||
if (m_title_label) {
|
||||
update_title_label(m_active_mon->clients.selected);
|
||||
update_title_label(m_bar_mon->clients.selected);
|
||||
m_ipc->on_client_focus_change = [this](const dwmipc::ClientFocusChangeEvent& ev) {
|
||||
this->on_client_focus_change(ev);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user