summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-02 20:12:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-02 20:12:42 (GMT)
commitc95e729c70e0e9df6fae76f043bf9d360b428fec (patch)
tree40f58480fad0c39fdbeccacb7e49bf9b166d864b /generic/ttk
parentf0ef3d461a52b9fdb6e0a1f0afa40274fe06ea89 (diff)
parent98cfc16adfd47391e88a6e2c724eb841191f29e0 (diff)
downloadtk-c95e729c70e0e9df6fae76f043bf9d360b428fec.zip
tk-c95e729c70e0e9df6fae76f043bf9d360b428fec.tar.gz
tk-c95e729c70e0e9df6fae76f043bf9d360b428fec.tar.bz2
Add many (mostly MacOS) stub functions, needed for future implementation of XIM.
Since the X11 API is now equal for all platforms, many 'hacks' needed in the past can now be completely eliminated.
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkTheme.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/ttk/ttkTheme.c b/generic/ttk/ttkTheme.c
index 8640d13..8f5e867 100644
--- a/generic/ttk/ttkTheme.c
+++ b/generic/ttk/ttkTheme.c
@@ -16,8 +16,7 @@
#define PKG_ASSOC_KEY "Ttk"
#ifdef MAC_OSX_TK
- extern void TkMacOSXFlushWindows(void);
- #define UPDATE_WINDOWS() TkMacOSXFlushWindows()
+ #define UPDATE_WINDOWS() XSync(NULL, False)
#else
#define UPDATE_WINDOWS()
#endif