From: Michiel de H. <mjl...@ya...> - 2014-01-21 10:10:09
|
Hi all, I have summarized this discussion and provided a patch at https://core.tcl.tk/tcl/tktview?name=883155fb98 This patch removes the [window setAutodisplay:NO] line and the tkDisplayIfNeeded code. I tried this patch with the Tk test suite and found that it reduces the number of test failures by 1. Best, -Michiel. -------------------------------------------- On Sat, 1/18/14, Kevin Walzer <kw...@co...> wrote: Subject: Re: [MACTCL] What is the purpose of tkDisplayIfNeeded? To: "Michiel de Hoon" <mjl...@ya...>, tc...@li... Date: Saturday, January 18, 2014, 12:52 PM On 1/18/14, 9:05 AM, Michiel de Hoon wrote: > > That is simple: remove tkDisplayIfNeeded and the call to it from tkMacOSXNotify.c, and remove the line [window setAutodisplay:NO] from kMacOSXWm.c. > If any glitches show up when we do that, we can think again what is the best solution for it. > Just bringing some off-list discussion back to onto the list, it appears that the [window setAutodisplay:NO] line is needed to address some issues with drawing Tk windows under Cocoa, though the details are no longer readily available. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |