diff options
| author | Manolo Gouy <Manolo> | 2016-03-31 06:24:26 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-31 06:24:26 +0000 |
| commit | 059664e7d4c6230b4fe799bd01bc6e630835c05c (patch) | |
| tree | a6dcbaaf10d59e36088b9176389a2bc33e8e9601 /src/Fl_Input.cxx | |
| parent | 62f9813e4ed6a001848d3c31b72f3d48d48df774 (diff) | |
Begin to remove platform-dependent code from the Fl.H header file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Input.cxx')
| -rw-r--r-- | src/Fl_Input.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx index f752b2b68..92daee5bd 100644 --- a/src/Fl_Input.cxx +++ b/src/Fl_Input.cxx @@ -599,14 +599,12 @@ int Fl_Input::handle(int event) { static int dnd_save_position, dnd_save_mark, drag_start = -1, newpos; static Fl_Widget *dnd_save_focus = NULL; switch (event) { -#ifdef __APPLE__ // PORTME: compose text case FL_UNFOCUS: - if (Fl::compose_state) { + if (Fl_System_Driver::driver()->has_marked_text() && Fl::compose_state) { this->mark( this->position() ); Fl::reset_marked_text(); } break; -#endif case FL_FOCUS: switch (Fl::event_key()) { case FL_Right: |
