summaryrefslogtreecommitdiff
path: root/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-08-24 12:40:29 +0000
committerManolo Gouy <Manolo>2017-08-24 12:40:29 +0000
commitc7405a22a8bb618e51cbaa9f4076822af1b2c908 (patch)
tree91a04b439cee694e64b12f53eadeca04fc9b5863 /src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
parentc2d5cf40672c0d488a7bb67ab81fa567de1169fe (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/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx')
-rw-r--r--src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
index 44d6b127e..9b4138055 100644
--- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
+++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx
@@ -273,6 +273,10 @@ void Fl_Xlib_Graphics_Driver::untranslate_all() { // undoes previous translate_a
pop_matrix();
}
+void Fl_Xlib_Graphics_Driver::set_current_() {
+ restore_clip();
+}
+
//
// End of "$Id$".
//