Need to set initial screen size at device open time too.
This commit is contained in:
parent
0d206e177f
commit
88d49bed00
|
@ -503,6 +503,9 @@ vuidMouseProc(DeviceIntPtr pPointer, int what)
|
||||||
pInfo->name, strerror(errno));
|
pInfo->name, strerror(errno));
|
||||||
}
|
}
|
||||||
vuidMouseWheelInit(pInfo);
|
vuidMouseWheelInit(pInfo);
|
||||||
|
#ifdef HAVE_ABSOLUTE_MOUSE_SCALING
|
||||||
|
vuidMouseSendScreenSize(screenInfo.screens[0], pVuidMse);
|
||||||
|
#endif
|
||||||
xf86FlushInput(pInfo->fd);
|
xf86FlushInput(pInfo->fd);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue