summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-08-07 10:43:38 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-08-07 10:43:38 +0200
commit5dfc64ef323adfdf190b86dffaf8a9608b39afaa (patch)
treeaf16537417a192cf3befdea9a8e8b3dbaa015c3e /src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
parentb25549ffa7a62bf492be93a8ffb8b9a0d62e0613 (diff)
Wayland platform: move repeated code into Fl_Wayland_Graphics_Driver::buffer_commit().
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
index a87a59878..0704a735d 100644
--- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
@@ -79,7 +79,7 @@ public:
void copy_offscreen(int x, int y, int w, int h, Fl_Offscreen osrc, int srcx, int srcy);
static struct fl_wld_buffer *create_shm_buffer(int width, int height);
static void buffer_release(struct wld_window *window);
- static void buffer_commit(struct wld_window *window);
+ static void buffer_commit(struct wld_window *window, const struct wl_callback_listener*);
static void cairo_init(struct fl_wld_buffer *buffer, int width, int height, int stride, cairo_format_t format);
virtual void *gc();
virtual void gc(void *gc);