mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-07 12:26:54 +00:00
Remove obsolete focus() function
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user