dix: unexport PickKeyboard()

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 17:00:28 +02:00
parent b592dc50db
commit 14dba35dac
5 changed files with 12 additions and 3 deletions

View File

@ -56,6 +56,7 @@ SOFTWARE.
#include <X11/extensions/XIproto.h> #include <X11/extensions/XIproto.h>
#include "dix/exevents_priv.h" #include "dix/exevents_priv.h"
#include "dix/input_priv.h"
#include "inputstr.h" /* DeviceIntPtr */ #include "inputstr.h" /* DeviceIntPtr */
#include "windowstr.h" /* window structure */ #include "windowstr.h" /* window structure */

View File

@ -56,6 +56,7 @@ SOFTWARE.
#include <X11/extensions/XIproto.h> #include <X11/extensions/XIproto.h>
#include "dix/exevents_priv.h" #include "dix/exevents_priv.h"
#include "dix/input_priv.h"
#include "inputstr.h" /* DeviceIntPtr */ #include "inputstr.h" /* DeviceIntPtr */
#include "windowstr.h" /* window structure */ #include "windowstr.h" /* window structure */

View File

@ -428,4 +428,13 @@ extern CallbackListPtr DeviceEventCallback;
DeviceIntPtr PickPointer(ClientPtr pClient) DeviceIntPtr PickPointer(ClientPtr pClient)
_X_ATTRIBUTE_NONNULL_ARG(1); _X_ATTRIBUTE_NONNULL_ARG(1);
/*
* @brief pick an appropriate keyboard for the given client
*
* searching the list of devices for the keyboard device that is
* paired with the client's pointer.
*/
DeviceIntPtr PickKeyboard(ClientPtr client)
_X_ATTRIBUTE_NONNULL_ARG(1);
#endif /* _XSERVER_INPUT_PRIV_H */ #endif /* _XSERVER_INPUT_PRIV_H */

View File

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

View File

@ -34,6 +34,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/extensions/XIproto.h> #include <X11/extensions/XIproto.h>
#include "dix/exevents_priv.h" #include "dix/exevents_priv.h"
#include "dix/input_priv.h"
#include "inputstr.h" #include "inputstr.h"
#include "exglobals.h" #include "exglobals.h"