window: Only set opaque and input regions if they change
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 5 Mar 2012 04:47:56 +0000 (23:47 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 5 Mar 2012 05:04:57 +0000 (00:04 -0500)
commit63e5e06d82170a91c5d944221948c7a1ebe14030
tree86cc2302e1c4ae39579261e12374d0cee70e17aa
parentd3c0275b1454bef00f79906138779076cfcd290c
window: Only set opaque and input regions if they change

Setting these regions damages the entire window or causes a repick, which
we don't want to trigger if we don't need to.
clients/window.c