diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-05-05 11:06:15 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-05-05 11:06:15 +0200 |
| commit | dea8a93bc2dc359bbcfd33889592660ee0089075 (patch) | |
| tree | f70bad37279831884e349a3e8471a90f93cc449e /src/drivers | |
| parent | b726211b9b9eefeaabf5ba366565792e943a18b6 (diff) | |
Wayland: use frame_cb before redrawing GL subwins - cont'd (#967)
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 e1b5b0b7a..fd7766c6a 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -495,6 +495,7 @@ void Fl_Wayland_Window_Driver::hide() { if (Fl_Wayland_Window_Driver::wld_window == wld_win) { Fl_Wayland_Window_Driver::wld_window = NULL; } + if (wld_win->frame_cb) wl_callback_destroy(wld_win->frame_cb); // useful for GL subwins free(wld_win); } delete ip; |
