1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

niri: don't rely on text field length for launching

This commit is contained in:
bbedward
2025-12-17 16:40:54 -05:00
parent d0b61d8ed1
commit 18231ed324

View File

@@ -250,8 +250,8 @@ Scope {
property var fakeParentModal: QtObject {
property bool spotlightOpen: spotlightContainer.visible
function hide() {
if (spotlightContent.searchField.text.length > 0) {
niriOverviewScope.hideSpotlight();
if (niriOverviewScope.searchActive) {
niriOverviewScope.hideAndReleaseKeyboard();
return;
}
NiriService.toggleOverview();