summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorculler <culler>2018-11-10 04:56:34 (GMT)
committerculler <culler>2018-11-10 04:56:34 (GMT)
commit0d9dbea2bbfbef5e4ffeea83d9af5c25de2764db (patch)
tree2734f7eb328bb5f264e64e067e333410783ea79d /xlib
parent17267a57e363d177645fb86454f14b16eda474a0 (diff)
parent2dee9a6869191253cd430d51db377dc484499c0f (diff)
downloadtk-0d9dbea2bbfbef5e4ffeea83d9af5c25de2764db.zip
tk-0d9dbea2bbfbef5e4ffeea83d9af5c25de2764db.tar.gz
tk-0d9dbea2bbfbef5e4ffeea83d9af5c25de2764db.tar.bz2
Fix a bug in TkPutImage for macOS.
Diffstat (limited to 'xlib')
-rw-r--r--xlib/X11/Xlib.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlib/X11/Xlib.h b/xlib/X11/Xlib.h
index 2418672..b4b04d7 100644
--- a/xlib/X11/Xlib.h
+++ b/xlib/X11/Xlib.h
@@ -196,9 +196,6 @@ typedef struct {
int class; /* class of screen (monochrome, etc.) */
#endif
unsigned long red_mask, green_mask, blue_mask; /* mask values */
-#if defined(MAC_OSX_TK)
- unsigned long alpha_mask;
-#endif
int bits_per_rgb; /* log base 2 of distinct color values */
int map_entries; /* color map entries */
} Visual;
@@ -328,7 +325,6 @@ typedef struct _XImage {
XPointer obdata; /* hook for the object routines to hang on */
#if defined(MAC_OSX_TK)
int pixelpower; /* n such that pixels are 2^n x 2^n blocks*/
- unsigned long alpha_mask;
#endif
struct funcs { /* image manipulation routines */
struct _XImage *(*create_image)();