xwm: Fix input region regression from commit changes
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 15 Feb 2013 02:56:32 +0000 (21:56 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 18 Feb 2013 22:38:58 +0000 (17:38 -0500)
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

index 1b2c0da..b381b46 100644 (file)
@@ -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);