On Tue, 2017-08-22 at 15:38 +0200, Roman Gilg wrote: > 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 <[email protected]>
remote: I: patch #172927 updated using rev 82df2ce38c560915f8c6574052bd56215b649072. remote: I: 1 patch(es) updated to state Accepted. To ssh://git.freedesktop.org/git/xorg/xserver 1089d5d518..82df2ce38c master -> master - ajax _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
