dix: unexport and document IsFloating()
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:
parent
4f2bd438cd
commit
985f4c22c6
|
@ -464,4 +464,17 @@ Bool IsKeyboardDevice(DeviceIntPtr dev)
|
|||
Bool InputDevIsMaster(DeviceIntPtr dev)
|
||||
_X_ATTRIBUTE_NONNULL_ARG(1);
|
||||
|
||||
/*
|
||||
* @brief check whether input device is floating
|
||||
*
|
||||
* when a slave device is grabbed directly (but not it's master), it's
|
||||
* temporarily detached from the master (for as long as the grab is held)
|
||||
* we call this state `floating`
|
||||
*
|
||||
* @param dev device to check
|
||||
* @return TRUE if the device is in `floating` state
|
||||
*/
|
||||
Bool IsFloating(DeviceIntPtr dev)
|
||||
_X_ATTRIBUTE_NONNULL_ARG(1);
|
||||
|
||||
#endif /* _XSERVER_INPUT_PRIV_H */
|
||||
|
|
|
@ -288,9 +288,6 @@ typedef struct {
|
|||
DeviceIntPtr device;
|
||||
} DeviceEventInfoRec;
|
||||
|
||||
extern _X_EXPORT Bool
|
||||
IsFloating(DeviceIntPtr dev);
|
||||
|
||||
extern _X_EXPORT void *lastGLContext;
|
||||
|
||||
/**
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <X11/Xmd.h>
|
||||
|
||||
#include "dix/cursor_priv.h"
|
||||
#include "dix/input_priv.h"
|
||||
|
||||
#include "servermd.h"
|
||||
#include "scrnintstr.h"
|
||||
|
|
Loading…
Reference in New Issue