diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-12-30 09:40:58 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-12-30 09:40:58 +0100 |
| commit | b2a38f793f5bd6876f611b256cff915e16c870d0 (patch) | |
| tree | 80d607eb0260c3ac1740af1b9ca3b6bccfc9d2d9 /src/drivers | |
| parent | 7e4306af6bd002d2063a991e9c8b9c1db05da99e (diff) | |
Wayland+FreeBSD: fix "test/mandelbrot crashes on rightclick" (#618)
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index fd912b9a0..7faf503f7 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -339,7 +339,8 @@ void Fl_Wayland_Window_Driver::make_current() { } // to support progressive drawing - if ( (!Fl_Wayland_Window_Driver::in_flush) && window->buffer && (!window->buffer->cb)) { + if ( (!Fl_Wayland_Window_Driver::in_flush) && window->buffer && (!window->buffer->cb) && + !wait_for_expose_value ) { //fprintf(stderr, "direct make_current: new cb=%p\n", window->buffer->cb); Fl_Wayland_Graphics_Driver::buffer_commit(window); } |
