From 81585e9d2acf34a90d6b8946d747dc7e1b734728 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. --- 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 ba788ff1c..9af2dd8b2 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.c @@ -827,6 +827,7 @@ weston_wm_window_draw_decoration(void *data) } if (window->surface && !window->fullscreen) { + pixman_region32_fini(&window->surface->pending.input); pixman_region32_init_rect(&window->surface->pending.input, t->margin, t->margin, width - 2 * t->margin,