1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-08 12:13:31 -04:00

fix(Screenshot): allow region capture over shell overlays

This commit is contained in:
purian23
2026-05-29 17:03:19 -04:00
parent 5ceb908b8b
commit 7c2d5ce15e
15 changed files with 74 additions and 7 deletions
@@ -34,6 +34,8 @@ Scope {
WlrLayershell.layer: WlrLayer.Overlay
WlrLayershell.exclusiveZone: -1
WlrLayershell.keyboardFocus: {
if (PopoutManager.screenshotActive)
return WlrKeyboardFocus.None;
if (!overviewScope.overviewOpen)
return WlrKeyboardFocus.None;
if (CompositorService.useHyprlandFocusGrab)
@@ -124,6 +124,8 @@ Scope {
WlrLayershell.layer: WlrLayer.Overlay
WlrLayershell.exclusiveZone: -1
WlrLayershell.keyboardFocus: {
if (PopoutManager.screenshotActive)
return WlrKeyboardFocus.None;
if (!NiriService.inOverview)
return WlrKeyboardFocus.None;
if (!isActiveScreen)