summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-04-01 17:50:50 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-04-01 17:50:50 (GMT)
commitf9b627e0687822d6b46b2ba34626258a8145094b (patch)
tree4ac3819dc8b1575dc7d7d6a8f7cc6a299b8aa8b5 /generic
parentc7f2e4b4449c07a0ac71b26e5da802d7fe5aaa89 (diff)
parentd5b7206362a9e60c41e3de7e60ead1034c8d50f5 (diff)
downloadtk-f9b627e0687822d6b46b2ba34626258a8145094b.zip
tk-f9b627e0687822d6b46b2ba34626258a8145094b.tar.gz
tk-f9b627e0687822d6b46b2ba34626258a8145094b.tar.bz2
3607830 Runtime checks that Xkb is available in the X server before trying to
use. Adapted from patch from Brian Griffin.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 21b882c..933fa5e 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -526,6 +526,7 @@ typedef struct TkDisplay {
#define TK_DISPLAY_USE_IM (1 << 1)
#define TK_DISPLAY_WM_TRACING (1 << 3)
#define TK_DISPLAY_IN_WARP (1 << 4)
+#define TK_DISPLAY_USE_XKB (1 << 5)
/*
* One of the following structures exists for each error handler created by a