drawers: fix input mask on special ws
This commit is contained in:
parent
d89dc8f318
commit
229eaa284d
1 changed files with 6 additions and 1 deletions
|
|
@ -40,7 +40,12 @@ Variants {
|
|||
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||
WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.session ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
||||
|
||||
mask: focusGrab.active || panels.popouts.isDetached || Hypr.focusedMonitor?.activeWorkspace?.lastIpcObject.windows > 0 ? inputMask : null
|
||||
mask: {
|
||||
if (focusGrab.active || panels.popouts.isDetached)
|
||||
return inputMask;
|
||||
const mon = Hypr.monitorFor(screen);
|
||||
return mon?.lastIpcObject.specialWorkspace.name || mon?.activeWorkspace?.lastIpcObject.windows > 0 ? inputMask : null;
|
||||
}
|
||||
|
||||
anchors.top: true
|
||||
anchors.bottom: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue