fully support _GTK_FRAME_EXTENTS

Desktop / Enlightenment / Enlightenment - Mike Blumenkrantz [osg.samsung.com] - 24 September 2015 15:33 UTC

gtk apps set an atom which provides information about the area where non-window content (eg. shadows) may be drawn; this area must not be used in placement calculations.

the easiest method for implementing this functionality was to add a case to the compositor geometry interceptors which effectively flip the client struct geometry values such that the E_Client->client is outside of the more commonly used E_Client->x/y/w/h

fix T2744

b8322b2 fully support _GTK_FRAME_EXTENTS
src/bin/e_comp_object.c | 52 ++++++++++++++++++++++++++++++++++++++++++-----
src/bin/e_comp_object.h | 1 +
src/bin/e_comp_x.c | 30 +++++++++++++++++++++++++++
src/bin/e_comp_x.h | 1 +
4 files changed, 79 insertions(+), 5 deletions(-)

Upstream: git.enlightenment.org


  • Share