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,