mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-27 03:45:34 +00:00
Highjacking the ChangeProperty and DeleteProperty vectors is a pretty fragile and clumpsy way to receive window property updates. Consider eg. multiple drivers and hotplugging: when they're unplugged in different order than they've been plugged (and both drivers doing that hack), who knows what happens. Instead use the hook infrastructure we already have since 1997: Xace. Listening on property changes that way is pretty simple, doesn't suffer from the mentioned problems and only takes 1/4 of the code. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>