mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-05 11:46:57 +00:00
topbar: guard against non-existing space
This commit is contained in:
@@ -577,6 +577,9 @@ function fixTopBar() {
|
||||
let spaces = Tiling.spaces
|
||||
if (!spaces)
|
||||
return;
|
||||
let space = spaces.monitors.get(panelMonitor);
|
||||
if (!space)
|
||||
return;
|
||||
let normal = !Main.overview.visible && !Tiling.inPreview
|
||||
let selected = spaces.monitors.get(panelMonitor).selectedWindow
|
||||
let focus = display.focus_window
|
||||
|
||||
Reference in New Issue
Block a user