summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-09-27 19:14:42 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-09-27 19:14:42 (GMT)
commit9a2585491c7164eb5d4de469786d3c935ab3dcf0 (patch)
tree9ab8d246a62adf2f02f673fe9f2f881af1bcec02 /unix/tkUnixPort.h
parent09cadff7abbce69fb5d07b88b20f6461a05a0541 (diff)
downloadtk-9a2585491c7164eb5d4de469786d3c935ab3dcf0.zip
tk-9a2585491c7164eb5d4de469786d3c935ab3dcf0.tar.gz
tk-9a2585491c7164eb5d4de469786d3c935ab3dcf0.tar.bz2
Cherrypick the fixes for macOS MapNotify and UnmapNotify from mac_styles
Diffstat (limited to 'unix/tkUnixPort.h')
-rw-r--r--unix/tkUnixPort.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index 09ff558..7c6177e 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -191,4 +191,10 @@
sprintf((buf), "%#08lx", (unsigned long) (w))
#endif
+/*
+ * Used by tkWindow.c
+ */
+
+#define TkpHandleMapOrUnmap(tkwin, event) Tk_HandleEvent(event)
+
#endif /* _UNIXPORT */