mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 16:02:51 -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
|
return WlrKeyboardFocus.Exclusive
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mask: Region {
|
||||||
|
item: shouldShowSpotlight ? spotlightContainer : null
|
||||||
|
}
|
||||||
|
|
||||||
onShouldShowSpotlightChanged: {
|
onShouldShowSpotlightChanged: {
|
||||||
if (!shouldShowSpotlight && isActiveScreen) {
|
if (!shouldShowSpotlight && isActiveScreen) {
|
||||||
Qt.callLater(() => keyboardFocusScope.forceActiveFocus())
|
Qt.callLater(() => keyboardFocusScope.forceActiveFocus())
|
||||||
@@ -153,6 +157,7 @@ Scope {
|
|||||||
|
|
||||||
scale: scaleValue
|
scale: scaleValue
|
||||||
opacity: overlayWindow.shouldShowSpotlight ? 1 : 0
|
opacity: overlayWindow.shouldShowSpotlight ? 1 : 0
|
||||||
|
enabled: overlayWindow.shouldShowSpotlight
|
||||||
|
|
||||||
layer.enabled: true
|
layer.enabled: true
|
||||||
layer.smooth: false
|
layer.smooth: false
|
||||||
|
|||||||
Reference in New Issue
Block a user