diff options
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r-- | src/ui/inputwidget.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index 802a2d6c..59d62544 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -27,6 +27,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
27 | #include "keys.h" | 27 | #include "keys.h" |
28 | #include "prefs.h" | 28 | #include "prefs.h" |
29 | #include "lang.h" | 29 | #include "lang.h" |
30 | #include "touch.h" | ||
30 | #include "app.h" | 31 | #include "app.h" |
31 | 32 | ||
32 | #include <the_Foundation/array.h> | 33 | #include <the_Foundation/array.h> |
@@ -1565,11 +1566,11 @@ static iBool processEvent_InputWidget_(iInputWidget *d, const SDL_Event *ev) { | |||
1565 | } | 1566 | } |
1566 | switch (processEvent_Click(&d->click, ev)) { | 1567 | switch (processEvent_Click(&d->click, ev)) { |
1567 | case none_ClickResult: | 1568 | case none_ClickResult: |
1568 | if (ev->type == SDL_MOUSEBUTTONUP && | 1569 | // if (ev->type == SDL_MOUSEBUTTONUP && |
1569 | deviceType_App() != desktop_AppDeviceType && isFocused_Widget(d)) { | 1570 | // deviceType_App() != desktop_AppDeviceType && isFocused_Widget(d)) { |
1570 | setFocus_Widget(NULL); | 1571 | // setFocus_Widget(NULL); |
1571 | return iTrue; | 1572 | // return iTrue; |
1572 | } | 1573 | // } |
1573 | break; | 1574 | break; |
1574 | case started_ClickResult: { | 1575 | case started_ClickResult: { |
1575 | setFocus_Widget(w); | 1576 | setFocus_Widget(w); |