Fix Fl_Wayland_Image_Surface_Driver::end_current()

This commit is contained in:
ManoloFLTK 2023-08-02 16:10:41 +02:00
parent b440c26e65
commit e49f2008a6

View File

@ -67,6 +67,7 @@ void Fl_Wayland_Image_Surface_Driver::end_current() {
cairo_surface_flush(surf); cairo_surface_flush(surf);
Fl_Wayland_Window_Driver::wld_window = pre_window; Fl_Wayland_Window_Driver::wld_window = pre_window;
fl_window = (Window)pre_window; fl_window = (Window)pre_window;
Fl_Surface_Device::end_current();
} }
void Fl_Wayland_Image_Surface_Driver::translate(int x, int y) { void Fl_Wayland_Image_Surface_Driver::translate(int x, int y) {