From b7fba465cec78b00a46a47ebd3f8f231b5feb5ee Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 18 Jan 2024 08:10:33 +0100 Subject: 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. --- src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | 1 - 1 file changed, 1 deletion(-) (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H') 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 -- cgit v1.2.3