Need to set initial screen size at device open time too. XORG-6_8_99_10
authorAlan Coopersmith <Alan.Coopersmith@sun.com>
Fri, 3 Jun 2005 21:49:11 +0000 (21:49 +0000)
committerAlan Coopersmith <Alan.Coopersmith@sun.com>
Fri, 3 Jun 2005 21:49:11 +0000 (21:49 +0000)
hw/xfree86/os-support/solaris/sun_mouse.c

index 978d942..4c8f63e 100644 (file)
@@ -503,6 +503,9 @@ vuidMouseProc(DeviceIntPtr pPointer, int what)
                        pInfo->name, strerror(errno));
            }
            vuidMouseWheelInit(pInfo);
+#ifdef HAVE_ABSOLUTE_MOUSE_SCALING         
+           vuidMouseSendScreenSize(screenInfo.screens[0], pVuidMse);
+#endif     
            xf86FlushInput(pInfo->fd);
        }
        break;