add hooking for WL_SURFACE_ID atom on XWayland windows and composite them
authorMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 25 Jun 2015 23:55:37 +0000 (19:55 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 26 Jun 2015 00:25:36 +0000 (20:25 -0400)
commit2b38147c43270815ef71726d8700703968429d90
tree998602a710c8bbd78124466efbeb048817e593f8
parentc8bdacc727e7a437ae51d068dc066c8158469946
add hooking for WL_SURFACE_ID atom on XWayland windows and composite them

in order to maximize the amount of reused code the following details the current
process for xwayland compositing:

* get map request from window
* force reparenting
* show window
* await WL_SURFACE_ID x11 message
* move x11 client data + pixmap onto corresponding wayland client
* business as usual with wayland compositing

this is pretty similar to the method of the reference code in weston,
except that there's no x11 compositor in weston
src/bin/e_comp_wl.c
src/bin/e_comp_wl.h
src/bin/e_comp_x.c
src/bin/e_comp_x.h