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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user