Patch to macosx/tkMacOSXWm.c