Skip to content

Commit

Permalink
define None+ControlMask so these are still available in Tk::XS (GH #87)
Browse files Browse the repository at this point in the history
  • Loading branch information
eserte committed Nov 5, 2023
1 parent efd4bad commit 9e35a07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pTk/mTk/xlib/X11/X.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ typedef unsigned long KeyCode; /* In order to use IME, the Macintosh needs

#ifndef _WIN32
# define None 0L /* See bug [9e31fd9449] and below */
#else
# define None None /* uses the enum below */
#endif

#define ParentRelative 1L /* background pixmap in CreateWindow
Expand Down Expand Up @@ -183,6 +185,8 @@ are reserved in the protocol for errors and replies. */
#define LockMask (1<<1)
#ifndef _WIN32
# define ControlMask (1<<2) /* See bug [9e31fd9449] and below */
#else
# define ControlMask ControlMask /* uses the enum below */
#endif
#define Mod1Mask (1<<3)
#define Mod2Mask (1<<4)
Expand Down

0 comments on commit 9e35a07

Please sign in to comment.