[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    xorg/driver/xf86-input-mouse - [PATCH] Make sure
From:       Paulo Cesar Pereira de Andrade <pcpa () mandriva ! com ! br>
Date:       2008-01-30 19:34:27
Message-ID: 47A0D143.4000509 () mandriva ! com ! br
[Download RAW message or body]

I also have a patch to not disable 3 button emulation if a
press of the physical 3rd button is detected. But since the
current code also has the manpage stating that it is the default
behaviour, not posting that patch.


["0002-Make-sure-xf86MouseProtocolIDToName-is-of-public-vis.patch" (text/x-patch)]

From 2d7085d2a495e054ba5098f5ef5d488242cc79f0 Mon Sep 17 00:00:00 2001
From: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date: Wed, 30 Jan 2008 17:28:34 -0200
Subject: [PATCH] Make sure xf86MouseProtocolIDToName is of public visibility.

This function is called by code in the xf86misc to change mouse parameters,
after checking it's availability using LoaderSymbol().
---
 src/mouse.c |    2 +-
 src/mouse.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mouse.c b/src/mouse.c
index 1819e8e..f9fdd67 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -874,7 +874,7 @@ ProtocolIDToName(MouseProtocolID id)
     }
 }
 
-const char *
+_X_EXPORT const char *
 xf86MouseProtocolIDToName(MouseProtocolID id)
 {
 	return ProtocolIDToName(id);
diff --git a/src/mouse.h b/src/mouse.h
index 16c5a82..8397c9f 100644
--- a/src/mouse.h
+++ b/src/mouse.h
@@ -9,7 +9,7 @@
 
 #include "xf86OSmouse.h"
 
-const char * xf86MouseProtocolIDToName(MouseProtocolID id);
+_X_EXPORT const char * xf86MouseProtocolIDToName(MouseProtocolID id);
 MouseProtocolID xf86MouseProtocolNameToID(const char *name);
 
 #endif
-- 
1.5.3.5



_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic