commit | ec4d342aa9b536c71bcf0d75249549860941793b | [log] [tgz] |
---|---|---|
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | Mon Mar 14 12:07:26 2011 +0100 |
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | Thu Mar 17 11:54:35 2011 +0100 |
tree | 8652a1301f50a3db74f951a1d15dd84ded1cd40a | |
parent | 9c26ff3507da9708f5028b37ee9a23df43be0246 [diff] [blame] |
Support per surface frame events This fixes tearing with multi head.
diff --git a/clients/window.c b/clients/window.c index 0c93b9c..ec1714e 100644 --- a/clients/window.c +++ b/clients/window.c
@@ -792,6 +792,12 @@ return cairo_surface_reference(window->cairo_surface); } +struct wl_surface * +window_get_wl_surface(struct window *window) +{ + return window->surface; +} + static int get_pointer_location(struct window *window, int32_t x, int32_t y) {