Xpra: Ticket #1798: remove synchronization points in nested X11 contexts

We have been running with a call to gdk flush whenever we exit a nested X11 context since r1783 (back in 2012!), the unsynced version was briefly enabled in r1777. r18869 has added unchecked context detection, including a few fixes, so now is a good time to try again. This may cause crashes if we somehow end up getting back to the gtk main loop without first calling flush and trapping X11 errors. But since those are nested contexts, we should always be exiting the outer context before returning to gtk.



Sat, 31 Mar 2018 14:01:57 GMT - Antoine Martin: owner, description changed

Done in r18922, this tiny commit can be undone by running with XPRA_SYNCHRONIZE=0 xpra start ..

Effects:

@maxmylyn: mostly a FYI.


Tue, 03 Apr 2018 17:55:39 GMT - J. Max Mena: status changed; resolution set

Noted and closing.


Sat, 23 Jan 2021 05:34:04 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1798