From 5c936adb8dbc91320891faca6f194d058e487883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 14 Feb 2013 22:01:58 -0500 Subject: [PATCH] xwm: Don't leak pending.input region It's not really a leak, since the region is always a rectangle, but let's play by the rules. Conflicts: src/xwayland/window-manager.c --- src/xwayland/window-manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index d50cc5cf1..67e823657 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.c @@ -755,6 +755,7 @@ weston_wm_window_draw_decoration(void *data) window->height + 2); window->surface->geometry.dirty = 1; + pixman_region32_fini(&window->surface->pending.input); pixman_region32_init_rect(&window->surface->pending.input, t->margin, t->margin, width - 2 * t->margin,