mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-04 19:46:53 +00:00
Fix the stackoverlay on startup and reload
ensureViewport needs to be run on the active space last.
This commit is contained in:
@@ -659,7 +659,7 @@ function enable() {
|
||||
function initWorkspaces() {
|
||||
spaces = new Spaces();
|
||||
Navigator.switchWorkspace(global.screen.get_active_workspace());
|
||||
spaces.forEach(s => {
|
||||
spaces.mru().reverse().forEach(s => {
|
||||
s.selectedWindow && ensureViewport(s.selectedWindow, s, true);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user