dix: unexport IsPointerDevice()

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:16:57 +02:00
parent 6fc8b593a4
commit 57bc6cb633
3 changed files with 10 additions and 3 deletions

View File

@ -32,6 +32,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <X11/Xatom.h>
#include <X11/Xfuncproto.h>
#include "dix/input_priv.h"
#include "dix/registry_priv.h"
#include "os/client_priv.h"

View File

@ -437,4 +437,13 @@ DeviceIntPtr PickPointer(ClientPtr pClient)
DeviceIntPtr PickKeyboard(ClientPtr client)
_X_ATTRIBUTE_NONNULL_ARG(1);
/*
* @brief check whether input device is a pointer device
*
* @param dev pointer to device structure
* @return TRUE if dev is a pointer device
*/
Bool IsPointerDevice(DeviceIntPtr dev)
_X_ATTRIBUTE_NONNULL_ARG(1);
#endif /* _XSERVER_INPUT_PRIV_H */

View File

@ -288,9 +288,6 @@ typedef struct {
DeviceIntPtr device;
} DeviceEventInfoRec;
extern _X_EXPORT Bool
IsPointerDevice(DeviceIntPtr dev);
extern _X_EXPORT Bool
IsKeyboardDevice(DeviceIntPtr dev);