summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-02-09 14:42:00 +0100
committerPovilas Kanapickas <povilas@radix.lt>2024-10-10 13:50:57 +0000
commit84be5b4e9c65fab30d80a053af1889d3f0403a65 (patch)
tree49f09111f2ab3d4a97969fcf8010cadf0ef66115 /Xi
parente7c225aef6821678f0a568b66f302a1a54654e5e (diff)
dix: unexport non-public functions from dixgrabs.h and document prototypes
* unexport functions from dixgrab.h, that aren't used by any driver/module. * add paremeter names to prototypes * add doxygen-style documentation for all the prototypes Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Diffstat (limited to 'Xi')
-rw-r--r--Xi/exevents.c2
-rw-r--r--Xi/ungrdevb.c2
-rw-r--r--Xi/ungrdevk.c2
-rw-r--r--Xi/xipassivegrab.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/Xi/exevents.c b/Xi/exevents.c
index 5c866e2ec..3604fd329 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -91,6 +91,7 @@ SOFTWARE.
#include <X11/extensions/XKBproto.h>
#include "dix/dix_priv.h"
+#include "dix/dixgrabs_priv.h"
#include "dix/eventconvert.h"
#include "dix/exevents_priv.h"
#include "dix/input_priv.h"
@@ -103,7 +104,6 @@ SOFTWARE.
#include "exglobals.h"
#include "eventstr.h"
#include "dixevents.h" /* DeliverFocusedEvent */
-#include "dixgrabs.h" /* CreateGrab() */
#include "scrnintstr.h"
#include "listdev.h" /* for CopySwapXXXClass */
#include "xace.h"
diff --git a/Xi/ungrdevb.c b/Xi/ungrdevb.c
index e2a62104f..06c03ddef 100644
--- a/Xi/ungrdevb.c
+++ b/Xi/ungrdevb.c
@@ -56,11 +56,11 @@ SOFTWARE.
#include <X11/extensions/XIproto.h>
#include "dix/dix_priv.h"
+#include "dix/dixgrabs_priv.h"
#include "inputstr.h" /* DeviceIntPtr */
#include "windowstr.h" /* window structure */
#include "exglobals.h"
-#include "dixgrabs.h"
#include "ungrdevb.h"
#define AllModifiersMask ( \
diff --git a/Xi/ungrdevk.c b/Xi/ungrdevk.c
index ff4a11f2d..e148e423a 100644
--- a/Xi/ungrdevk.c
+++ b/Xi/ungrdevk.c
@@ -56,11 +56,11 @@ SOFTWARE.
#include <X11/extensions/XIproto.h>
#include "dix/dix_priv.h"
+#include "dix/dixgrabs_priv.h"
#include "inputstr.h" /* DeviceIntPtr */
#include "windowstr.h" /* window structure */
#include "exglobals.h"
-#include "dixgrabs.h"
#include "xkbsrv.h"
#include "xkbstr.h"
#include "ungrdevk.h"
diff --git a/Xi/xipassivegrab.c b/Xi/xipassivegrab.c
index 7c7350125..afb24928a 100644
--- a/Xi/xipassivegrab.c
+++ b/Xi/xipassivegrab.c
@@ -35,6 +35,7 @@
#include <X11/extensions/XI2proto.h>
#include "dix/dix_priv.h"
+#include "dix/dixgrabs_priv.h"
#include "dix/exevents_priv.h"
#include "inputstr.h" /* DeviceIntPtr */
@@ -42,7 +43,6 @@
#include "swaprep.h"
#include "exglobals.h" /* BadDevice */
#include "xipassivegrab.h"
-#include "dixgrabs.h"
#include "misc.h"
#include "inpututils.h"