When we drop support for Python2 / GTK2, it will be easier to replace some of the GTK X11 glue code with pure Cython code. (see #1977 for GTK4 problems)
For example, composite and damage classes should handle raw X11 windows using their xid, the
remove_event_receiver functions can just use the xid directly.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1995