win: always track property changes

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2020-03-29 19:15:07 +01:00
parent 3ba7a2aa4d
commit ee35bd873a
7 changed files with 8 additions and 28 deletions

View File

@ -1008,11 +1008,9 @@ void win_mark_client(session_t *ps, struct managed_win *w, xcb_window_t client)
win_update_leader(ps, w);
// Get window name and class if we are tracking them
if (ps->o.track_wdata) {
win_update_name(ps, w);
win_get_class(ps, w);
win_get_role(ps, w);
}
win_update_name(ps, w);
win_get_class(ps, w);
win_get_role(ps, w);
// Update everything related to conditions
win_on_factor_change(ps, w);