Need to set initial screen size at device open time too.

This commit is contained in:
Alan Coopersmith 2005-06-03 21:49:11 +00:00
parent 0d206e177f
commit 88d49bed00

View File

@ -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;