> on 1/12/04 11:16 AM, NeXT at [EMAIL PROTECTED] wrote:
>
> >
> > 1. Open GWorkspace.app and Terminal.app
> > 2. Select GWorkspace.app for it take focus
> > 3. Hide using menu
> > 4. Select Terminal.app for it take focus if it's not
> > 5. Unhide GWorkspace.app by double clicking app icon
> > 6. The applications flickers and no menu appears and Terminal.app
> > has focus.
> >
> > I think this problem does appears with current modification in focus
> > code.
> >
>
Well this patch fixes the problem for me. Perhaps you can try it:
The only problem is that I have no clue why it works. At some point the
window manager just tells the app it lost focus. I'd still like to
figure that out.
Index: Source/NSWindow.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/gui/Source/NSWindow.m,v
retrieving revision 1.303
diff -u -r1.303 NSWindow.m
--- Source/NSWindow.m 15 Jan 2004 10:04:04 -0000 1.303
+++ Source/NSWindow.m 17 Jan 2004 04:34:51 -0000
@@ -1378,6 +1378,10 @@
*/
- (void) orderFront: (id)sender
{
+ /* WindowMaker doesn't like it when you order the appIcon when the app
+ isn't active. It shouldn't be necessary anyway. */
+ if (self == [NSApp iconWindow] && [NSApp isActive] == NO)
+ return;
[self orderWindow: NSWindowAbove relativeTo: 0];
}
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep