diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-05-25 17:43:18 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-05-25 17:43:18 +0200 |
| commit | efbd60cb12fd9814ac2f9bec8a21038fcd33086d (patch) | |
| tree | db4d4e1f007ca590368a4b42f2a28129f0b6efe4 | |
| parent | fce49232120353910bd4408793047b3a44b25b15 (diff) | |
Restore the value of global variable fl_window
| -rw-r--r-- | src/drivers/X11/Fl_X11_Window_Driver.cxx | 2 |
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; } |
