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
This commit is contained in:
Kristian Høgsberg 2013-02-14 21:56:32 -05:00
parent 8ee86c88bc
commit a57d133ca4

View 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);