On Tue, Oct 11, 2011 at 03:12:56PM +0200, Adam Tkac wrote: > attached patch exports the GetMaster() function, it is needed by > TigerVNC's libvnc.so module. Please merge it also to 1.11 release, thank > you!
where/how do you need this? afaict this function hasn't been exported since it was added (pre-1.6) so I guess something must have changed that this is needed now. I'm not a big fan of exporting random functions without knowing why, especially given how much of a mess our ABI already is. Cheers, Peter > > Comments are welcomed. > > Regards, Adam > From 1cf3957095fdfae8ca3382c48e502d30df8ffeff Mon Sep 17 00:00:00 2001 > From: Adam Tkac <at...@redhat.com> > Date: Tue, 11 Oct 2011 14:21:27 +0200 > Subject: [PATCH] Mark GetMaster as _X_EXPORT. > > The include/input.h:GetMaster() it is needed by TigerVNC's libvnc.so module. > > Signed-off-by: Adam Tkac <at...@redhat.com> > --- > include/input.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/input.h b/include/input.h > index 6ba1ab2..7c117b6 100644 > --- a/include/input.h > +++ b/include/input.h > @@ -501,7 +501,7 @@ extern int AttachDevice(ClientPtr client, > 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, > char* name, > -- > 1.7.6.4 > _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel