diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-01-18 08:10:33 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-01-18 08:10:33 +0100 |
| commit | b7fba465cec78b00a46a47ebd3f8f231b5feb5ee (patch) | |
| tree | b4dc9b1261b24e5d4aa24757fa1718c69dbd486a /src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | |
| parent | 554bccbecdc2acdc73fd1ff851c541839ed8b523 (diff) | |
Wayland: throttle resize operations also for top-level GL windows
Member cb of struct wld_buffer is replaced by member frame_cb of struct wld_window.
This allows frame_cb to be used both for non-GL and for top-level GL windows.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H index 73af80701..b8c7a2a8d 100644 --- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H @@ -41,7 +41,6 @@ public: struct wl_list link; // links all buffers from the same wl_shm_pool struct wl_buffer *wl_buffer; void *data; - struct wl_callback *cb; struct wl_shm_pool *shm_pool; bool draw_buffer_needs_commit; bool in_use; // true while being committed |
