summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-07-02 16:44:17 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-07-02 16:44:17 +0200
commit16ecd6b821897fe179f362bf0fb82ac012a0ab0c (patch)
treee87e9fea090867e0ac579e4de106038e34f83d1d /src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
parentc7493496c91f17390ea6f958b0ec33947f0cb817 (diff)
Wayland platform: more accurate initial state of window buffer.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
index f5de5d94d..9cea1cd86 100644
--- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx
@@ -71,7 +71,7 @@ struct fl_wld_buffer *Fl_Wayland_Graphics_Driver::create_shm_buffer(int width, i
buffer->data_size = size;
buffer->width = width;
buffer->draw_buffer = new uchar[buffer->data_size];
- buffer->draw_buffer_needs_commit = false;
+ buffer->draw_buffer_needs_commit = true;
//fprintf(stderr, "create_shm_buffer: %dx%d = %d\n", width, height, size);
cairo_init(buffer, width, height, stride, Fl_Cairo_Graphics_Driver::cairo_format);
return buffer;