Remove obsolete focus() function

This commit is contained in:
Tor Hedin Brønner
2018-04-22 15:01:56 +02:00
parent ab0f2be0fe
commit 9bb1bb231c
-7
View File
@@ -431,13 +431,6 @@ function add_all_from_workspace(workspace, windows = []) {
}
}
function focus() {
let meta_window = global.display.focus_window;
if (!meta_window)
return -1;
return spaces.spaceOfWindow(meta_window).indexOf(meta_window);
}
function isStacked(metaWindow) {
return metaWindow._isStacked;
}