xserver-multidpi/hw/xwayland
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
..
.gitignore xwayland: Bind pointer constraints global 2016-10-05 13:50:46 -04:00
drm.xml wayland: Sync drm.xml with Mesa 2017-07-05 10:13:04 -04:00
Makefile.am xwayland: Add grab protocol support 2017-08-01 10:56:42 +01:00
meson.build meson: Fix xwayland build since xwayland-keyboard-grab. 2017-08-02 09:39:04 +01:00
xwayland-cursor.c xwayland: update cursor on tablet tools in proximity 2017-04-28 11:21:25 +10:00
xwayland-cvt.c xwayland: Add hack for FWXGA resolution #99574 2017-02-08 12:32:16 -05:00
xwayland-glamor-xv.c xwayland: use the lowercase xnf.*alloc API 2017-09-06 08:56:39 +10:00
xwayland-glamor.c xwayland: add envvar XWAYLAND_NO_GLAMOR 2017-09-13 11:21:16 -04:00
xwayland-input.c xwayland: Avoid repeatedly looping through window ancestor chain 2017-09-13 11:51:10 -04:00
xwayland-output.c xwayland: Update root window size when desktop size changes 2017-06-07 14:45:34 +10:00
xwayland-shm.c xserver: Check the right HAVE_*_CONFIG_H. 2017-03-23 13:17:39 -04:00
xwayland-vidmode.c xwayland: Pretend we support viewport in vidmode 2016-03-28 14:10:59 -04:00
xwayland.c xwayland: Avoid repeatedly looping through window ancestor chain 2017-09-13 11:51:10 -04:00
xwayland.h xwayland: Avoid repeatedly looping through window ancestor chain 2017-09-13 11:51:10 -04:00