mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-04 19:46:53 +00:00
examples: don't use global.screen
screen is removed in gnome 3.3x
This commit is contained in:
@@ -14,7 +14,7 @@ var Scratch = Extension.imports.scratch;
|
||||
function gotoByIndex() {
|
||||
function goto(k) {
|
||||
return () => {
|
||||
let space = Tiling.spaces.get(global.screen.get_active_workspace());
|
||||
let space = Tiling.spaces.get(global.workspace_manager.get_active_workspace());
|
||||
let metaWindow = space.getWindow(k, 0)
|
||||
if (!metaWindow)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user