xserver/hw
Roman Gilg 82df2ce38c xwayland: Avoid repeatedly looping through window ancestor chain
Calling xwl_window_from_window means looping through the window ancestor
chain whenever it is called on a child window or on an automatically
redirected window.

Since these properties and the potential ancestor's xwl_window are constant
between window realization and unrealization, we can omit the looping by
always putting the respective xwl_window in the Window's private field on
its realization. If the Window doesn't feature an xwl_window on its own,
it's the xwl_window of its first ancestor with one.

Signed-off-by: Roman Gilg <subdiff@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
2017-09-13 11:51:10 -04:00
..
dmx dmx: Remove some not-very-interesting debug prints 2017-06-20 16:39:23 -04:00
kdrive xephyr: Fix regeneration 2017-05-11 14:13:12 -04:00
vfb Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xfree86 meson: Move the BUILD_DATE/TIME setup to configure time. 2017-09-13 11:14:57 -04:00
xnest Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xquartz XQuartz: Hack around an issue that can occur on macOS due to background apps incorrectly stealing focus 2017-07-20 01:17:40 -07:00
xwayland xwayland: Avoid repeatedly looping through window ancestor chain 2017-09-13 11:51:10 -04:00
xwin xwin: automake: remove unused {SRCS, DEFS}_{NATIVEGDI, PRIMARYFB} 2017-08-22 10:59:41 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build Add meson.build for XWin server (v2) 2017-06-02 09:32:35 -07:00