summaryrefslogtreecommitdiffstats
path: root/xlib/X11/keysymdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlib/X11/keysymdef.h')
-rw-r--r--xlib/X11/keysymdef.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xlib/X11/keysymdef.h b/xlib/X11/keysymdef.h
index 562f43b..18a18d1 100644
--- a/xlib/X11/keysymdef.h
+++ b/xlib/X11/keysymdef.h
@@ -257,11 +257,15 @@ SOFTWARE.
#define XK_End 0xff57 /* EOL */
#define XK_Begin 0xff58 /* BOL */
+
+#ifndef TK_NO_DEPRECATED
/* Special Windows keyboard keys */
#define XK_Win_L 0xFF5B /* Left-hand Windows */
#define XK_Win_R 0xFF5C /* Right-hand Windows */
#define XK_App 0xFF5D /* Menu key */
+#endif
+
/* Misc functions */
@@ -2592,6 +2596,7 @@ SOFTWARE.
* /usr/include/pkg/libxkbcommon/xkbcommon/xkbcommon-keysyms.h
*/
+#ifndef TK_NO_DEPRECATED
#define XK_XF86AudioLowerVolume 0x1008FF11 /* Volume control down */
#define XK_XF86AudioMute 0x1008FF12 /* Mute sound from the system */
#define XK_XF86AudioRaiseVolume 0x1008FF13 /* Volume control up */
@@ -2599,4 +2604,5 @@ SOFTWARE.
#define XK_XF86AudioStop 0x1008FF15 /* Stop playing audio */
#define XK_XF86AudioPrev 0x1008FF16 /* Previous track */
#define XK_XF86AudioNext 0x1008FF17 /* Next track */
+#endif /* !TK_NO_DEPRECATED */