mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-04 19:46:53 +00:00
Insert windows regardless of which monitor it spawns on
This commit is contained in:
@@ -919,11 +919,7 @@ function add_handler(ws, metaWindow) {
|
||||
function insertWindow(metaWindow, {existing}) {
|
||||
|
||||
let space = spaces.spaceOfWindow(metaWindow);
|
||||
let monitor = Main.layoutManager.monitors[metaWindow.get_monitor()];
|
||||
|
||||
if (monitor !== space.monitor) {
|
||||
return;
|
||||
}
|
||||
let monitor = space.monitor;
|
||||
|
||||
if (!add_filter(metaWindow)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user