opt: update mon not change selmon if the selmon not null
This commit is contained in:
@@ -7318,6 +7318,7 @@ void updatemons(struct wl_listener *listener, void *data) {
|
||||
config_head->state.x = m->m.x;
|
||||
config_head->state.y = m->m.y;
|
||||
|
||||
if (!selmon)
|
||||
selmon = m;
|
||||
|
||||
wl_list_for_each(c, &clients, link) {
|
||||
|
||||
Reference in New Issue
Block a user