X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/368d83ae8d59a7368779f94b48b302c03e8cfa01..a0e770d2a006aa9d6c2703960c68fb607a378039:/src/tk/tkint.h diff --git a/src/tk/tkint.h b/src/tk/tkint.h index e2c7b7e..a5cc780 100644 --- a/src/tk/tkint.h +++ b/src/tk/tkint.h @@ -38,6 +38,9 @@ #include "tclhash.h" #endif +#define META_MASK (AnyModifier<<1) +#define ALT_MASK (AnyModifier<<2) + /* * One of the following structures is maintained for each display * containing a window managed by Tk: @@ -76,6 +79,9 @@ typedef struct TkDisplay { * retrieved from the server yet. */ KeySym *keySyms; /* Array of KeySyms, returned by * XGetKeyboardMapping. */ + unsigned int modeModMask; + unsigned int metaModMask; + unsigned int altModMask; /* * Information used by tkError.c only: