diff options
| author | Manolo Gouy <Manolo> | 2016-03-31 17:25:18 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-31 17:25:18 +0000 |
| commit | 2de2f5496820f91c81df65834eee268126086209 (patch) | |
| tree | 1ee88071287b849a08467bee48f7c281b38d1bae /src/Fl_Input.cxx | |
| parent | ff83e355b09f07848257d8fef7a12705347955cc (diff) | |
Move the marked text support member functions from Fl_System_Driver to Fl_Screen_Driver.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Input.cxx')
| -rw-r--r-- | src/Fl_Input.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx index 92daee5bd..25329b694 100644 --- a/src/Fl_Input.cxx +++ b/src/Fl_Input.cxx @@ -35,6 +35,7 @@ #include <FL/x.H> #include <FL/Fl_Window.H> #include <FL/Fl_System_Driver.H> +#include <FL/Fl_Screen_Driver.H> #include <FL/Fl_Input.H> #include <FL/fl_draw.H> #include <FL/fl_ask.H> @@ -600,7 +601,7 @@ int Fl_Input::handle(int event) { static Fl_Widget *dnd_save_focus = NULL; switch (event) { case FL_UNFOCUS: - if (Fl_System_Driver::driver()->has_marked_text() && Fl::compose_state) { + if (Fl::screen_driver()->has_marked_text() && Fl::compose_state) { this->mark( this->position() ); Fl::reset_marked_text(); } |
