diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-07 15:47:01 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-07 15:47:01 +0200 |
| commit | 0691833375bd97004890d4bbdcf12d7e4c2040ab (patch) | |
| tree | 9045fbb78f752f63b1d083d16ba44f5cb3d65e37 /src/drivers | |
| parent | ad8dd440d2b395167c591bb7b5eb659dbb57ad07 (diff) | |
Wayland: non-resizable windows are positioned in the wrong place (#711) - cont'd
That is also expected to be the fix for #712
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index eee7892bf..4fa9cd25a 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -653,6 +653,7 @@ static void surface_enter(void *data, struct wl_surface *wl_surface, struct wl_o window->fl_win->size(window->fl_win->w(), window->fl_win->h()); win_driver->is_a_rescale(false); } else if (window->buffer) { + if (window->buffer->cb) wl_callback_destroy(window->buffer->cb); Fl_Wayland_Graphics_Driver::buffer_commit(window); } if (window->fl_win->as_gl_window()) |
