removed launcherCloseOnClickOutside, now it's automatically true, also, launcher keyboard control is exclusive
This commit is contained in:
@@ -140,8 +140,8 @@ PanelWindow {
|
||||
WlrLayershell.layer: WlrLayer.Overlay
|
||||
WlrLayershell.namespace: "main-shell-launcher"
|
||||
WlrLayershell.exclusiveZone: -1
|
||||
WlrLayershell.keyboardFocus: _isOpen ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
||||
mask: Region { item: (root._isOpen && Cfg.Config.launcherCloseOnClickOutside) ? fullMask : clipContainer }
|
||||
WlrLayershell.keyboardFocus: _isOpen ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None
|
||||
mask: Region { item: root._isOpen ? fullMask : clipContainer }
|
||||
|
||||
|
||||
Item { id: fullMask; anchors.fill: parent }
|
||||
@@ -184,7 +184,7 @@ PanelWindow {
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
enabled: root._isOpen && Cfg.Config.launcherCloseOnClickOutside
|
||||
enabled: root._isOpen
|
||||
onClicked: root.close()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user