errorTrapPop
fn
int errorTrapPop()Removes an error trap pushed with [gdk.global.errorTrapPush]. May block until an error has been definitively received or not received from the X server. [gdk.global.errorTrapPopIgnored] is preferred if you don’t need to know whether an error occurred, because it never has to block. If you don't need the return value of [gdk.global.errorTrapPop], use [gdk.global.errorTrapPopIgnored].
Prior to GDK 3.0, this function would not automatically sync for you, so you had to [gdk.global.flush] if your last call to Xlib was not a blocking round trip.
Returns
X error code or 0 on success