gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFA: [NSWindow -update] should not cause display


From: Richard Frith-Macdonald
Subject: Re: RFA: [NSWindow -update] should not cause display
Date: Mon, 17 Feb 2003 07:02:20 +0000


On Saturday, February 15, 2003, at 11:47  pm, Alexander Malmberg wrote:

Most of your email is clear enough to em, and I agree with the what you say,
but ...

I would like to remove the display code from [NSWindow -update] to fix
this. [NSApplication -updateWindows] would also be changed to send
-update to all windows, not just the visible windows. Since this is a
somewhat tricky issue, I thought I'd bring it up for discussion first.
Comments are welcome. :)

The documentation is pretty clear that -updateWindows handles visible windows.
Why do you say it needs so send update to *all* windows?

The -update documentation sats 'An NSWindow is automatically sent an update message on every pass through the event loop and before it’s displayed onscreen.'

So I think that off-screen windows are supposes to be sent an update before they are made visible ... and if we change the code to do that, do invisible windows
need to be handled in -updateWindows ?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]