From 0bf5285b44b0a8630a3b6a308e96fe7fd01572b0 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 7 Mar 2011 15:05:27 +0100 Subject: Add buffer.damage request to the protocol Thus remove the server-side used vfunc buffer::damage. --- protocol/wayland.xml | 26 ++++++++++++++++++-------- wayland/wayland-server.h | 3 --- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index f853c29..11976fa 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -110,9 +110,21 @@ + screen. --> - + + + + + + + + + @@ -349,12 +361,10 @@ active? --> - + diff --git a/wayland/wayland-server.h b/wayland/wayland-server.h index 09ffcd1..e0909ed 100644 --- a/wayland/wayland-server.h +++ b/wayland/wayland-server.h @@ -125,9 +125,6 @@ struct wl_buffer { struct wl_visual *visual; int32_t width, height; void (*attach)(struct wl_buffer *buffer, struct wl_surface *surface); - void (*damage)(struct wl_buffer *buffer, - struct wl_surface *surface, - int32_t x, int32_t y, int32_t width, int32_t height); }; struct wl_listener { -- cgit v1.2.3