mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 23:06:54 +08:00
Restore the value of global variable fl_window
This commit is contained in:
@@ -431,8 +431,8 @@ void Fl_X11_Window_Driver::capture_titlebar_and_borders(Fl_RGB_Image*& top, Fl_R
|
|||||||
if (bottom) {
|
if (bottom) {
|
||||||
bottom->scale(w() + 2*wsides, wsides, 0, 1);
|
bottom->scale(w() + 2*wsides, wsides, 0, 1);
|
||||||
} }
|
} }
|
||||||
fl_window = from;
|
|
||||||
Fl_Surface_Device::pop_current();
|
Fl_Surface_Device::pop_current();
|
||||||
|
fl_window = from;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user