(submit/xnest-expose-events) Xnest: fix resending expose events

Based on bug report by François Ouellet:
https://gitlab.freedesktop.org/xorg/xserver/-/issues/132

> 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).

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-02-15 16:15:02 +01:00
parent 6d84f596e2
commit f61464a794

View File

@ -95,7 +95,7 @@ xnestCollectExposures(void)
RegionInit(&Rgn, &Box, 1);
miSendExposures(pWin, &Rgn, Box.x2, Box.y2);
miSendExposures(pWin, &Rgn, 0, 0);
}
}
}