diff options
| author | Manolo Gouy <Manolo> | 2017-08-24 12:40:29 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-08-24 12:40:29 +0000 |
| commit | c7405a22a8bb618e51cbaa9f4076822af1b2c908 (patch) | |
| tree | 91a04b439cee694e64b12f53eadeca04fc9b5863 /src/Fl_Device.cxx | |
| parent | c2d5cf40672c0d488a7bb67ab81fa567de1169fe (diff) | |
X11 platform: cleaner implementation of changing the active drawing surface and maintaining clip regions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12396 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Device.cxx')
| -rw-r--r-- | src/Fl_Device.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Device.cxx b/src/Fl_Device.cxx index b791ee2c0..37aa804ac 100644 --- a/src/Fl_Device.cxx +++ b/src/Fl_Device.cxx @@ -54,6 +54,7 @@ void Fl_Surface_Device::set_current(void) fl_graphics_driver = pGraphicsDriver; surface_ = this; pGraphicsDriver->global_gc(); + driver()->set_current_(); } Fl_Surface_Device* Fl_Surface_Device::surface_; // the current target surface of graphics operations |
