Skip to content

(bugfix) Xnest: fix resending expose events

Xnest: fix broken exposure events

Xnest fails to properly pass through expose events: the coordinates are
miscalculated in xnestCollectExposures(), before miSendExposures() is called.

Based on bugzilla report by François Ouellet: https://bugs.freedesktop.org/show_bug.cgi?id=89

Expose Events are sent with bad coordinates. Using xtrace, I see lines like this one :

000:>:0436: Event Expose(12) window=0x00200023 x=65535 y=65533 width=1 height=3 count=0x0000

and the application in the Xnest ignores it.

If I apply the attached patch, it seems to work fine (for me).

Edited by Enrico Weigelt, metux IT consult .

Merge request reports

Loading