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() {