summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-08-05 07:38:57 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-08-05 07:38:57 +0200
commit8bcf65fa660beeaf1c1f16bc113cb275026fcb65 (patch)
treecddca27cee190e0e3f81cfe06e870d2c5965653e /src/drivers/Wayland
parent5becf68c18a41247cee27fc1ae08f274f5cc8a4c (diff)
Fix issue under Wayland when erasing overlay rectangle (#1285)
Diffstat (limited to 'src/drivers/Wayland')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index 6e3deeaa0..a2f481fb1 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -355,8 +355,8 @@ void Fl_Wayland_Window_Driver::make_current() {
}
// to support progressive drawing
- if ( (!Fl_Wayland_Window_Driver::in_flush_) && window->buffer && (!window->frame_cb)
- && window->buffer->draw_buffer_needs_commit && (!wait_for_expose_value) ) {
+ if ( (!Fl_Wayland_Window_Driver::in_flush_) && window->buffer && (!window->frame_cb) &&
+ (!wait_for_expose_value) ) {
Fl_Wayland_Graphics_Driver::buffer_commit(window);
}