summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-05 23:21:43 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-05 23:21:43 +0200
commit0c930b9ca31a868679372528954ef5b8e6b83b33 (patch)
treedc73fb5a38ec18880a2ce01b5991791489c2ca5d /src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
parent5cedb9e174dc2c60532def5c1a8ca194b36d454e (diff)
Wayland: limit copied pixels when window update is a region
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 d736df9de..5e3b13f8b 100644
--- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
@@ -78,7 +78,7 @@ public:
void copy_offscreen(int x, int y, int w, int h, Fl_Offscreen osrc, int srcx, int srcy) FL_OVERRIDE;
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, bool need_damage = true);
+ static void buffer_commit(struct wld_window *window, struct flCairoRegion *r = NULL);
static void cairo_init(struct fl_wld_buffer *buffer, int width, int height, int stride, cairo_format_t format);
void *gc() FL_OVERRIDE;
void gc(void *gc) FL_OVERRIDE;