summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-02 16:10:41 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-02 16:10:41 +0200
commite49f2008a68569567ecb73531ada55281b4b88a8 (patch)
tree5fc1866b81495b29af5bae0cb520413633166959 /src
parentb440c26e65720f80e249d7123d2ae80aa8f43f82 (diff)
Fix Fl_Wayland_Image_Surface_Driver::end_current()
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Image_Surface_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Image_Surface_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Image_Surface_Driver.cxx
index 24f0f8182..287012c0a 100644
--- a/src/drivers/Wayland/Fl_Wayland_Image_Surface_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Image_Surface_Driver.cxx
@@ -67,6 +67,7 @@ void Fl_Wayland_Image_Surface_Driver::end_current() {
cairo_surface_flush(surf);
Fl_Wayland_Window_Driver::wld_window = pre_window;
fl_window = (Window)pre_window;
+ Fl_Surface_Device::end_current();
}
void Fl_Wayland_Image_Surface_Driver::translate(int x, int y) {