xwm: Fix xwm opaque region
authorScott Moreau <oreaus@gmail.com>
Thu, 22 Nov 2012 22:35:13 +0000 (15:35 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 27 Nov 2012 22:27:58 +0000 (17:27 -0500)
commit0e59077c0df82960b917990c755ced9c6ff23287
treed3e22d684710b56ed8c8e784738bc7991bb0990c
parent6a5d6124f09a88e1fc86971c42bc75f9c98f933d
xwm: Fix xwm opaque region

Since surface.commit was introduced, opqaue regions are stored in a pending
variable that isn't used until surface.commit. Xwayland uses the surface opaque
region as a way to tell weston what region of the surface should be opaque.
However when this pending opaque region was introduced, xwm was not updated
and so we have the 'black = transparent' problem again. This patch fixes the
problem by having xwm use the pending opaque regions.
src/xwayland/window-manager.c