dix: unexport PickPointer()

Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-23 16:58:21 +02:00
parent b826800613
commit b592dc50db
3 changed files with 12 additions and 3 deletions

View File

@ -417,4 +417,15 @@ void DeliverRawEvent(RawDeviceEvent *event, DeviceIntPtr device)
*/
extern CallbackListPtr DeviceEventCallback;
/*
* @brief pick an appropriate pointer for the given client.
*
* An "appropriate device" is (in order of priority):
* 1) A device the given client has a core grab on.
* 2) A device set as ClientPointer for the given client.
* 3) The first master device.
*/
DeviceIntPtr PickPointer(ClientPtr pClient)
_X_ATTRIBUTE_NONNULL_ARG(1);
#endif /* _XSERVER_INPUT_PRIV_H */

View File

@ -260,9 +260,6 @@ WriteEventsToClient(ClientPtr /*pClient */ ,
int /*count */ ,
xEventPtr /*events */ );
extern _X_EXPORT DeviceIntPtr
PickPointer(ClientPtr /* client */ );
extern _X_EXPORT DeviceIntPtr
PickKeyboard(ClientPtr /* client */ );

View File

@ -58,6 +58,7 @@ DEALINGS IN THE SOFTWARE.
#define XK_CYRILLIC
#include <X11/keysym.h>
#include "dix/input_priv.h"
#include "xkb/xkbsrv_priv.h"
#include "os.h"