client/x11: do not discard events when updating EGFX surface mapping
Passing True to XSync() discards any pending X11 events. Occasionally this caused ButtonRelease or KeyRelease to be lost and not forwarded to the remote computed, leading to stuck keys and buttons. This should resolve issue #2391
This commit is contained in:
parent
cc4b5f98c3
commit
1012bccdaa
@ -112,7 +112,7 @@ int xf_OutputUpdate(xfContext* xfc, xfGfxSurface* surface)
|
||||
region16_clear(&surface->invalidRegion);
|
||||
|
||||
XSetClipMask(xfc->display, xfc->gc, None);
|
||||
XSync(xfc->display, True);
|
||||
XSync(xfc->display, False);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user