summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2022-07-01 11:13:13 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2022-07-01 11:13:13 +0200
commit9702b836862da6838d725f555e7a1d83faf51740 (patch)
tree4bca98e6ab44c4e620b9278871e679a7a71b4a20
parenta5d00f889fadad3f5b11e53fd5c04cf5343fa8a2 (diff)
downloadxorg-lib-libX11-9702b836862da6838d725f555e7a1d83faf51740.tar.gz
Mention that the predicate function is called with the display lock
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
-rw-r--r--man/XIfEvent.man4
1 files changed, 4 insertions, 0 deletions
diff --git a/man/XIfEvent.man b/man/XIfEvent.man
index 20a202c8..1a43feec 100644
--- a/man/XIfEvent.man
+++ b/man/XIfEvent.man
@@ -147,6 +147,10 @@ After finding a match, the predicate procedure must return
.BR True .
If it did not find a match, it must return
.BR False .
+.LP
+Note that the predicate procedure is called with the
+display locked, and thus is not allowed to call any function
+that would take the display lock again.
.SH "SEE ALSO"
XAnyEvent(__libmansuffix__),
XNextEvent(__libmansuffix__),