mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
Take a crack at resolving the mouse blocking issues.
This commit is contained in:
parent
d98fbe1fb4
commit
107ff50220
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227092
2 changed files with 13 additions and 5 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= xf86-input-mouse
|
||||
PORTVERSION= 1.4.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-drivers
|
||||
|
||||
MAINTAINER= x11@FreeBSD.org
|
||||
|
|
|
@ -1,11 +1,20 @@
|
|||
--- src/bsd_mouse.c.orig 2008-12-13 18:24:06.000000000 -0500
|
||||
+++ src/bsd_mouse.c 2008-12-14 22:50:40.000000000 -0500
|
||||
--- src/bsd_mouse.c.orig 2008-11-26 23:11:36.000000000 -0500
|
||||
+++ src/bsd_mouse.c 2009-01-28 12:52:12.000000000 -0500
|
||||
@@ -1,4 +1,3 @@
|
||||
-
|
||||
/*
|
||||
* Copyright (c) 1999-2003 by The XFree86 Project, Inc.
|
||||
*
|
||||
@@ -75,11 +74,15 @@
|
||||
@@ -28,6 +27,8 @@
|
||||
|
||||
#include <xorg-server.h>
|
||||
|
||||
+#define XPS2_SUPPORT
|
||||
+
|
||||
#include <X11/X.h>
|
||||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
@@ -75,11 +76,13 @@
|
||||
#define DEFAULT_MOUSE_DEV "/dev/mouse"
|
||||
#define DEFAULT_SYSMOUSE_DEV "/dev/sysmouse"
|
||||
#define DEFAULT_PS2_DEV "/dev/psm0"
|
||||
|
@ -14,10 +23,8 @@
|
|||
static const char *mouseDevs[] = {
|
||||
DEFAULT_MOUSE_DEV,
|
||||
DEFAULT_SYSMOUSE_DEV,
|
||||
+#ifndef CONFIG_HAL
|
||||
DEFAULT_PS2_DEV,
|
||||
+ DEFAULT_USB_DEV,
|
||||
+#endif
|
||||
NULL
|
||||
};
|
||||
#elif (defined(__OpenBSD__) || defined(__NetBSD__)) && defined(WSCONS_SUPPORT)
|
||||
|
|
Loading…
Add table
Reference in a new issue