fix x11 compositor to use damage events
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 7 Sep 2015 15:10:54 +0000 (11:10 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 7 Sep 2015 15:14:34 +0000 (11:14 -0400)
commit92d1c36be7c944c702d050cbd6912b969535a7f6
treee1524572e43e1f0596060bd651fbe537f45d91ca
parent64a62e29ca70cc5375cbd156d9c6f548b6928bdd
fix x11 compositor to use damage events

it seems that since the first version of the enlightenment compositor
in e17, damage events in x11 have never been used correctly. using
the event struct members will only give the bounding box/area instead
of the damaged regions; the real regions must be explicitly fetched
from the server

this removes the need for a lot of hacks which were added over the years
to make override windows render correctly, and also probably reduces
rendering overhead slightly
src/bin/e_comp_x.c