mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 02:10:07 +01:00
Xext: panoramiXprocs: fix typo
This fixes a typo introduced in commit80b5d3a326. The pointer pDst was changed unintentionally to pWin from a copy/paste error. This resulted in all QT-based apps and some tcl/tk ones (like fontforge) to crash X 1.9 on starting up, when Xinerama was enabled. Bug report: https://bbs.archlinux.org/viewtopic.php?id=106125 Signed-off-by: Elie Bleton <drozofil@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Tested-by: Linus Arver <linusarver@gmail.com> (cherry picked from commit78f94f19aa)
This commit is contained in:
parent
acd78f7fdc
commit
3effb61e20
1 changed files with 1 additions and 1 deletions
|
|
@ -634,7 +634,7 @@ int PanoramiXTranslateCoords(ClientPtr client)
|
|||
rep.dstX = x - pDst->drawable.x;
|
||||
rep.dstY = y - pDst->drawable.y;
|
||||
if((pDst == screenInfo.screens[0]->root) ||
|
||||
(pWin->drawable.id == screenInfo.screens[0]->screensaver.wid))
|
||||
(pDst->drawable.id == screenInfo.screens[0]->screensaver.wid))
|
||||
{
|
||||
rep.dstX += screenInfo.screens[0]->x;
|
||||
rep.dstY += screenInfo.screens[0]->y;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue