From dfc067ecfcecb67c31935a005edc477a163b64c5 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 21 Mar 2011 16:32:37 +0000 Subject: Fix STR #2587: under Xlib, the X input method must be reset by the Fl::compose_reset() function. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl.H | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'FL') diff --git a/FL/Fl.H b/FL/Fl.H index 99ed4c044..f6d061d1c 100644 --- a/FL/Fl.H +++ b/FL/Fl.H @@ -678,13 +678,7 @@ public: static int event_length() {return e_length;} static int compose(int &del); - /** - If the user moves the cursor, be sure to call Fl::compose_reset(). - The next call to Fl::compose() will start out in an initial state. In - particular it will not set "del" to non-zero. This call is very fast - so it is ok to call it many times and in many places. - */ - static void compose_reset() {compose_state = 0;} + static void compose_reset(); static int event_inside(int,int,int,int); static int event_inside(const Fl_Widget*); static int test_shortcut(Fl_Shortcut); -- cgit v1.2.3