Could we add _X_EXPORT to GetMaster?

Peter Hutterer peter.hutterer at who-t.net
Wed Feb 18 21:29:14 PST 2015


On Wed, Feb 18, 2015 at 02:55:19PM +0200, Michal Srb wrote:
> Hi,
> 
> Is there any particular reason why GetMaster (include/input.h) doesn't have 
> _X_EXPORT?
> 
> I ran into problem with tigervnc's VNC module that would like to call it, but 
> can't because it is hidden. That's currently the only thing that prevents 
> tigervnc from working as module.
> 
> GetMaster looks like a helper function and IMHO it wouldn't hurt to expose it 
> to modules. It only calls IsMaster and GetPairedDevice which are already 
> exposed.

sure, feel free to send a patch. though I do wonder what the use-case is,
please explain that too, thanks.

Cheers,
   Peter




More information about the xorg-devel mailing list