Change-Id: I1fac804abcb09bd760246c95a961a2d5b91de03a
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
}
struct wl_buffer_interface XCompositeBuffer::buffer_interface = {
- XCompositeBuffer::buffer_interface_damage,
XCompositeBuffer::buffer_interface_destroy
};
-void XCompositeBuffer::buffer_interface_damage(struct wl_client *client,
- struct wl_resource *buffer,
- int x,
- int y,
- int width,
- int height)
-{
- Q_UNUSED(client);
- Q_UNUSED(buffer);
- Q_UNUSED(x);
- Q_UNUSED(y);
- Q_UNUSED(width);
- Q_UNUSED(height);
-}
-
void XCompositeBuffer::buffer_interface_destroy(wl_client *client, wl_resource *buffer)
{
Q_UNUSED(client);
static void buffer_interface_destroy(struct wl_client *client,
struct wl_resource *buffer);
- static void buffer_interface_damage(struct wl_client *client,
- struct wl_resource *buffer,
- int x,
- int y,
- int width,
- int height);
};
#endif // XCOMPOSITORBUFFER_H
#define XCOMPOSITEHANDLER_H
#include "wayland_wrapper/wlcompositor.h"
+#include "waylandobject.h"
#include "xlibinclude.h"