[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bugs #12400] GWorkspace: focus change between any.app and Gworksapce/De
From: |
Adam Fedor |
Subject: |
[bugs #12400] GWorkspace: focus change between any.app and Gworksapce/Desktop causes weird flickering |
Date: |
Mon, 21 Mar 2005 21:58:24 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/125.5.6 (KHTML, like Gecko) Safari/125.12 |
Follow-up Comment #1, bugs #12400 (project gnustep):
On Mar 21, 2005, at 6:07 AM, Enrico Sersale wrote:
The borderless window containing the desktop view must become the main window
when you click on it. But, beeing it at NSDesktopWindowLevel, this works only
with this hack: the -mouseDown: method of the view sends a -makeKeyWindow to
its window; doing this, the window become the first responder but it is also
ordered in front of the other windows; to avoid this, the window's
-orderWindow:relativeTo: method has these two lines:
[super orderWindow: place relativeTo: otherWin]; // let the window get the
events
[self setLevel: NSDesktopWindowLevel]; // put it again at its
level
And here you see the flicker.
I think that this problem should be fixed (in -back, probably) treating
differently from the other cases the case of a window at NSDesktopWindowLevel
that must become the main window.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=12400>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/