summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorculler <culler>2018-11-10 00:45:34 (GMT)
committerculler <culler>2018-11-10 00:45:34 (GMT)
commitbfc96895328c38d81ad657b7a5d620ad42e67796 (patch)
treef736d242a20785653552b95012f4ae51f9a5a4a3 /xlib
parentedeaa03fec080516ed29f71138581e4310c5ec86 (diff)
downloadtk-bfc96895328c38d81ad657b7a5d620ad42e67796.zip
tk-bfc96895328c38d81ad657b7a5d620ad42e67796.tar.gz
tk-bfc96895328c38d81ad657b7a5d620ad42e67796.tar.bz2
TkPutImage should not assume that a pixmap is transparent, even though it does have alpha=0.
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 b027e28..8d8ec68 100644
--- a/xlib/X11/Xlib.h
+++ b/xlib/X11/Xlib.h
@@ -203,9 +203,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;
@@ -335,7 +332,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)();