summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 1bf9065e..867f535d 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -486,6 +486,8 @@ static void setupUserInterface_Window(iWindow *d) {
486 addChildFlags_Widget( 486 addChildFlags_Widget(
487 searchBar, iClob(new_LabelWidget("\U0001f50d Text", NULL)), frameless_WidgetFlag); 487 searchBar, iClob(new_LabelWidget("\U0001f50d Text", NULL)), frameless_WidgetFlag);
488 iInputWidget *input = new_InputWidget(0); 488 iInputWidget *input = new_InputWidget(0);
489 setSelectAllOnFocus_InputWidget(input, iTrue);
490 setEatEscape_InputWidget(input, iFalse); /* unfocus and close with one keypress */
489 setId_Widget(addChildFlags_Widget(searchBar, iClob(input), expand_WidgetFlag), 491 setId_Widget(addChildFlags_Widget(searchBar, iClob(input), expand_WidgetFlag),
490 "find.input"); 492 "find.input");
491 addChild_Widget(searchBar, iClob(newIcon_LabelWidget(" \u2b9f ", 'g', KMOD_PRIMARY, "find.next"))); 493 addChild_Widget(searchBar, iClob(newIcon_LabelWidget(" \u2b9f ", 'g', KMOD_PRIMARY, "find.next")));