mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Set current EWMH desktop in restore
This commit is contained in:
parent
ac5ad7d1c0
commit
67e57260dd
1 changed files with 3 additions and 2 deletions
5
tree.c
5
tree.c
|
@ -975,6 +975,8 @@ void restore(char *file_path)
|
||||||
last_level = level;
|
last_level = level;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fclose(snapshot);
|
||||||
|
|
||||||
if (!aborted) {
|
if (!aborted) {
|
||||||
client_uid = max_uid + 1;
|
client_uid = max_uid + 1;
|
||||||
for (monitor_t *m = mon_head; m != NULL; m = m->next)
|
for (monitor_t *m = mon_head; m != NULL; m = m->next)
|
||||||
|
@ -987,7 +989,6 @@ void restore(char *file_path)
|
||||||
update_vacant_state(n->parent);
|
update_vacant_state(n->parent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ewmh_update_current_desktop();
|
||||||
}
|
}
|
||||||
|
|
||||||
fclose(snapshot);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue