dix: unexport IsMaster()

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:27:26 +02:00
parent 537f8c4b82
commit 1b3de34f22
4 changed files with 14 additions and 4 deletions

View File

@ -52,9 +52,12 @@ SOFTWARE.
#include <dix-config.h>
#include "inputstr.h" /* DeviceIntPtr */
#include <X11/extensions/XI.h>
#include <X11/extensions/XIproto.h>
#include "dix/input_priv.h"
#include "inputstr.h" /* DeviceIntPtr */
#include "XIstubs.h"
#include "windowstr.h" /* window structure */
#include "exglobals.h"

View File

@ -455,4 +455,13 @@ Bool IsPointerDevice(DeviceIntPtr dev)
Bool IsKeyboardDevice(DeviceIntPtr dev)
_X_ATTRIBUTE_NONNULL_ARG(1);
/*
* @brief check whether input device is a master
*
* @param dev device to be checked
* @return TRUE if the device is a master
*/
Bool IsMaster(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
IsMaster(DeviceIntPtr dev);
extern _X_EXPORT Bool
IsFloating(DeviceIntPtr dev);

View File

@ -33,6 +33,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/Xproto.h>
#include <X11/extensions/XI.h>
#include "dix/input_priv.h"
#include "xkb/xkbsrv_priv.h"
#include "misc.h"