From f663837c4e31c58994c86fbcaa3ff1fd9ce5c069 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 1 Nov 2025 18:32:02 +0100 Subject: [PATCH] overview: fix focus func conflict with default prop name --- dots/.config/quickshell/ii/modules/overview/SearchBar.qml | 2 +- dots/.config/quickshell/ii/modules/overview/SearchWidget.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/overview/SearchBar.qml b/dots/.config/quickshell/ii/modules/overview/SearchBar.qml index 653e3d3f0..a0abd54c8 100644 --- a/dots/.config/quickshell/ii/modules/overview/SearchBar.qml +++ b/dots/.config/quickshell/ii/modules/overview/SearchBar.qml @@ -18,7 +18,7 @@ RowLayout { property alias searchInput: searchInput property string searchingText - function focus() { + function forceFocus() { searchInput.forceActiveFocus(); } diff --git a/dots/.config/quickshell/ii/modules/overview/SearchWidget.qml b/dots/.config/quickshell/ii/modules/overview/SearchWidget.qml index 5286d0697..d1bdaf6bc 100644 --- a/dots/.config/quickshell/ii/modules/overview/SearchWidget.qml +++ b/dots/.config/quickshell/ii/modules/overview/SearchWidget.qml @@ -94,7 +94,7 @@ Item { // Wrapper } function focusSearchInput() { - searchBar.focus(); + searchBar.forceFocus(); } function disableExpandAnimation() {