mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-04 19:46:53 +00:00
Don't set _isStacked on non inserted windows
This also means that ensureViewport(null, space) won't fail.
This commit is contained in:
@@ -687,14 +687,13 @@ function ensureViewport(meta_window, space, force) {
|
||||
debug('already moving', meta_window.title);
|
||||
return;
|
||||
}
|
||||
debug('Moving', meta_window.title);
|
||||
|
||||
meta_window._isStacked = false;
|
||||
|
||||
let index = space.indexOf(meta_window)
|
||||
if (index === -1)
|
||||
return;
|
||||
|
||||
debug('Moving', meta_window.title);
|
||||
meta_window._isStacked = false;
|
||||
space.selectedWindow = meta_window;
|
||||
let frame = meta_window.get_frame_rect();
|
||||
meta_window.move_resize_frame(true, frame.x, frame.y,
|
||||
|
||||
Reference in New Issue
Block a user