summaryrefslogtreecommitdiff
path: root/src/drivers/X11/Fl_X11_Window_Driver.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-05-25 17:43:18 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-05-25 17:43:18 +0200
commitefbd60cb12fd9814ac2f9bec8a21038fcd33086d (patch)
treedb4d4e1f007ca590368a4b42f2a28129f0b6efe4 /src/drivers/X11/Fl_X11_Window_Driver.cxx
parentfce49232120353910bd4408793047b3a44b25b15 (diff)
Restore the value of global variable fl_window
Diffstat (limited to 'src/drivers/X11/Fl_X11_Window_Driver.cxx')
-rw-r--r--src/drivers/X11/Fl_X11_Window_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/X11/Fl_X11_Window_Driver.cxx b/src/drivers/X11/Fl_X11_Window_Driver.cxx
index d4c1958a4..ec3978ae8 100644
--- a/src/drivers/X11/Fl_X11_Window_Driver.cxx
+++ b/src/drivers/X11/Fl_X11_Window_Driver.cxx
@@ -431,8 +431,8 @@ void Fl_X11_Window_Driver::capture_titlebar_and_borders(Fl_RGB_Image*& top, Fl_R
if (bottom) {
bottom->scale(w() + 2*wsides, wsides, 0, 1);
} }
- fl_window = from;
Fl_Surface_Device::pop_current();
+ fl_window = from;
}