summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2015-11-18 16:32:25 -0600
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-11-20 15:27:55 +0200
commit118387e54155f581be72ca816d5c4b9c33835842 (patch)
tree72e328cd4d1634112a59d645fac5f3f758645a30 /clients
parent0aba7853846ebc3572298afe9a2a554b2fcba836 (diff)
toytoolkit: Remove window_damage()
It's just a direct call to wl_surface_damage() anyway, and the only caller no longer exists. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'clients')
-rw-r--r--clients/window.c7
-rw-r--r--clients/window.h4
2 files changed, 0 insertions, 11 deletions
diff --git a/clients/window.c b/clients/window.c
index f9797a27..db40a436 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -4473,13 +4473,6 @@ window_set_text_cursor_position(struct window *window, int32_t x, int32_t y)
wl_fixed_from_int(y));
}
-void
-window_damage(struct window *window, int32_t x, int32_t y,
- int32_t width, int32_t height)
-{
- wl_surface_damage(window->main_surface->surface, x, y, width, height);
-}
-
static void
surface_enter(void *data,
struct wl_surface *wl_surface, struct wl_output *wl_output)
diff --git a/clients/window.h b/clients/window.h
index b61a62a1..b92d10ce 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -343,10 +343,6 @@ window_schedule_redraw(struct window *window);
void
window_schedule_resize(struct window *window, int width, int height);
-void
-window_damage(struct window *window, int32_t x, int32_t y,
- int32_t width, int32_t height);
-
cairo_surface_t *
window_get_surface(struct window *window);