From 5dfd5e58ee58cc8205c430075ec1325aa9fda0ca Mon Sep 17 00:00:00 2001 From: frosch Date: Wed, 28 Nov 2012 21:14:28 +0000 Subject: (svn r24774) -Fix: Invert the focus handling of the OSK. Keep the focus at the OSK and close it on losing focus. This makes the editbox in the OSK behave correctly. --- src/querystring_gui.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/querystring_gui.h') diff --git a/src/querystring_gui.h b/src/querystring_gui.h index 42facf70a..a7916a801 100644 --- a/src/querystring_gui.h +++ b/src/querystring_gui.h @@ -62,8 +62,6 @@ struct QueryString { free(this->orig); } -private: - bool HasEditBoxFocus(const Window *w, int wid) const; public: void DrawEditBox(const Window *w, int wid) const; void ClickEditBox(Window *w, Point pt, int wid, int click_count, bool focus_changed); @@ -73,5 +71,6 @@ public: void ShowOnScreenKeyboard(Window *parent, int button); void UpdateOSKOriginalText(const Window *parent, int button); +bool IsOSKOpenedFor(const Window *w, int button); #endif /* QUERYSTRING_GUI_H */ -- cgit v1.2.3-54-g00ecf