[PATCH] Expose GetMaster to modules.

msrb at suse.com msrb at suse.com
Thu Feb 19 04:57:27 PST 2015

From: Michal Srb <msrb at suse.com>

Add _X_EXPORT to GetMaster function. It is required by tigervnc's VNC module.
 include/input.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/input.h b/include/input.h
index bf22dc7..7212cc1 100644
--- a/include/input.h
+++ b/include/input.h
@@ -505,7 +505,7 @@ extern int AttachDevice(ClientPtr client,
                         DeviceIntPtr slave, DeviceIntPtr master);
 extern _X_EXPORT DeviceIntPtr GetPairedDevice(DeviceIntPtr kbd);
-extern DeviceIntPtr GetMaster(DeviceIntPtr dev, int type);
+extern _X_EXPORT DeviceIntPtr GetMaster(DeviceIntPtr dev, int type);
 extern _X_EXPORT int AllocDevicePair(ClientPtr client,
                                      const char *name,

More information about the xorg-devel mailing list