mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-07-04 08:00:09 +00:00
Guard against duplicate registerWindow
Seems to happen once and a while (observed on X11 3.28)
This commit is contained in:
@@ -1749,6 +1749,10 @@ class Spaces extends Map {
|
||||
Signals.addSignalMethods(Spaces.prototype);
|
||||
|
||||
function registerWindow(metaWindow) {
|
||||
if (metaWindow.clone) {
|
||||
// Temp workaround - sometimes called twice on enable
|
||||
return false;
|
||||
}
|
||||
if (metaWindow.is_override_redirect()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user