From a57d133ca48726f241292f8096bd303e9f90b351 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 14 Feb 2013 21:56:32 -0500 Subject: [PATCH] xwm: Fix input region regression from commit changes This must be the last regression from the surface commit changes. We need to set the pending.input region, otherwise the region will be overwritten on commit. https://bugs.freedesktop.org/show_bug.cgi?id=60610 --- src/xwayland/window-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index 1b2c0da..b381b46 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.c @@ -759,7 +759,7 @@ weston_wm_window_draw_decoration(void *data) window->height + 2); window->surface->geometry.dirty = 1; - pixman_region32_init_rect(&window->surface->input, + pixman_region32_init_rect(&window->surface->pending.input, t->margin, t->margin, width - 2 * t->margin, height - 2 * t->margin); -- 2.7.4