summaryrefslogtreecommitdiff
path: root/src/ui/inputwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r--src/ui/inputwidget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c
index 19623d74..c9be1a58 100644
--- a/src/ui/inputwidget.c
+++ b/src/ui/inputwidget.c
@@ -160,11 +160,11 @@ static iBool processEvent_InputWidget_(iInputWidget *d, const SDL_Event *ev) {
160 iWidget *w = as_Widget(d); 160 iWidget *w = as_Widget(d);
161 if (isCommand_Widget(w, ev, "focus.gained")) { 161 if (isCommand_Widget(w, ev, "focus.gained")) {
162 begin_InputWidget(d); 162 begin_InputWidget(d);
163 return iTrue; 163 return iFalse;
164 } 164 }
165 else if (isCommand_Widget(w, ev, "focus.lost")) { 165 else if (isCommand_Widget(w, ev, "focus.lost")) {
166 end_InputWidget(d, iTrue); 166 end_InputWidget(d, iTrue);
167 return iTrue; 167 return iFalse;
168 } 168 }
169 switch (processEvent_Click(&d->click, ev)) { 169 switch (processEvent_Click(&d->click, ev)) {
170 case none_ClickResult: 170 case none_ClickResult: