summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-06-03 21:49:11 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-06-03 21:49:11 +0000
commit88d49bed008264092245c4f6c53174f93f6ab387 (patch)
tree53417cfb1f4337c15ef68c5025f44bbe5a1eb88b
parent0d206e177f46eedfffd8f88e985efdfaf117021c (diff)
Need to set initial screen size at device open time too.XORG-6_8_99_10
-rw-r--r--hw/xfree86/os-support/solaris/sun_mouse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xfree86/os-support/solaris/sun_mouse.c b/hw/xfree86/os-support/solaris/sun_mouse.c
index 978d94260..4c8f63e8b 100644
--- a/hw/xfree86/os-support/solaris/sun_mouse.c
+++ b/hw/xfree86/os-support/solaris/sun_mouse.c
@@ -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;