mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
niri: empty input region & disable spotlight content when not open
This commit is contained in:
@@ -71,6 +71,10 @@ Scope {
|
||||
return WlrKeyboardFocus.Exclusive
|
||||
}
|
||||
|
||||
mask: Region {
|
||||
item: shouldShowSpotlight ? spotlightContainer : null
|
||||
}
|
||||
|
||||
onShouldShowSpotlightChanged: {
|
||||
if (!shouldShowSpotlight && isActiveScreen) {
|
||||
Qt.callLater(() => keyboardFocusScope.forceActiveFocus())
|
||||
@@ -153,6 +157,7 @@ Scope {
|
||||
|
||||
scale: scaleValue
|
||||
opacity: overlayWindow.shouldShowSpotlight ? 1 : 0
|
||||
enabled: overlayWindow.shouldShowSpotlight
|
||||
|
||||
layer.enabled: true
|
||||
layer.smooth: false
|
||||
|
||||
Reference in New Issue
Block a user