summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXWm.c
diff options
context:
space:
mode:
authorculler <culler>2021-05-31 17:47:51 (GMT)
committerculler <culler>2021-05-31 17:47:51 (GMT)
commit8cc414bfff40effeca9179cc45b3e4a55bccdc3a (patch)
tree91692c3f587b9bc1cafaaa2b06d2bd240ecc1d7e /macosx/tkMacOSXWm.c
parent5f715cdb82eb9359f525faddad8ca97c8831378f (diff)
downloadtk-8cc414bfff40effeca9179cc45b3e4a55bccdc3a.zip
tk-8cc414bfff40effeca9179cc45b3e4a55bccdc3a.tar.gz
tk-8cc414bfff40effeca9179cc45b3e4a55bccdc3a.tar.bz2
Redraw windows after deiconify. Fixes [d4d6319b9d]. Also fixes empty tooltip windows.
Diffstat (limited to 'macosx/tkMacOSXWm.c')
-rw-r--r--macosx/tkMacOSXWm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/tkMacOSXWm.c b/macosx/tkMacOSXWm.c
index 25bba72..0f49e4b 100644
--- a/macosx/tkMacOSXWm.c
+++ b/macosx/tkMacOSXWm.c
@@ -1942,6 +1942,8 @@ WmDeiconifyCmd(
}
}
+ [[win contentView] setNeedsDisplay:YES];
+ Tcl_DoWhenIdle(TkMacOSXDrawAllViews, NULL);
return TCL_OK;
}