window: Track and report input and opaque regions
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 23 Feb 2012 22:30:45 +0000 (17:30 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 23 Feb 2012 22:30:54 +0000 (17:30 -0500)
commit010f98b0839e4eb8dd18056289590c1d0cb61ed5
treee096a1eefa6e617db8211e90f56b781be42bf4eb
parentdd631c1c369bc221e5b82e24d1cd5cd0465b2d68
window: Track and report input and opaque regions

We just set the input region to the bounding box of the window frame
and set the opaque region to be the opaque rectangle inside the window
if the child widget is opaque.
clients/gears.c
clients/terminal.c
clients/view.c
clients/window.c
clients/window.h
clients/wscreensaver.c
src/compositor.c
tests/matrix-test.c