mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
This helper checks whether a given XID belongs to some screen's root window. It does so by looking up the window and comparing that with the window's screen's root window pointer. The resource lookup is intentionally being on behalf of the serverClient, so the fired XACE hook doesn't treat it as an actual client's request. It's explicitly designed for being used by callback handlers. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
1.8 KiB
1.8 KiB