|
From: | Fred Kiefer |
Subject: | Display server and window interaction |
Date: | Thu, 11 Apr 2002 23:00:32 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:0.9.4) Gecko/20011019 Netscape6/6.2 |
For most operation that involve the Display Server we can be sure that the server ivar is already set otherwise the window number would also not be available. The remaining place where GSServerForWindow might be called without the ivar being set, involve the dragging, which is a not that common operation. So we could changed these to use the new method [NSWindow displayServer] that would return the default server, if none was setup.
Fred
[Prev in Thread] | Current Thread | [Next in Thread] |