1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-07 05:58:28 -04:00

hyprland: general focus fixes related to #2561

This commit is contained in:
bbedward
2026-06-30 23:27:25 -04:00
parent a1727d18fd
commit 38a03a4485
7 changed files with 26 additions and 3 deletions
+10
View File
@@ -25,6 +25,16 @@ Singleton {
return CompositorService.useHyprlandFocusGrab && keyboardFocus(active, customFocus) === WlrKeyboardFocus.OnDemand;
}
function captureActiveToplevel() {
return ToplevelManager.activeToplevel;
}
function restoreToplevel(toplevel) {
if (toplevel)
Qt.callLater(() => toplevel.activate());
return null;
}
property list<var> barWindows: []
function registerBarWindow(window) {