discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Window Focus Problem (was Re: GNUstep Window Manager (was RE: I dea)


From: Richard Frith-Macdonald
Subject: Re: Window Focus Problem (was Re: GNUstep Window Manager (was RE: I dea))
Date: Wed, 10 Jan 2001 06:01:26 +0000

On Wednesday, January 10, 2001, at 02:36 AM, Dan Pascu wrote:

> What puzzles me is that there is code to treat a gnustep app in a very 
> particular way regarding focus. This means that a gnustep app: 
> 1. Will not get focused. 

That can't be right - GNUstep apps plainly *do* get focussed by Window Maker

> 2. will never get its titlebar texture updated conforming to its 
>    focused/unfocused state. 

That is correct - GNUstep apps change their titlebar themselves - this is 
because
they don't care which window keyboard events arrive in, and need to update 
titlebars
to indicate to the user which window keyboard input will actually be applied to
(which may not be the same as the window that actually has X keyboard focus).

> In other words its treated as it never exists. 
>  
> I wasn't able to figure out why this behavior is necessary, and none of 
> the wmaker developers put the code to do this in wmaker. 
> Alfredo told me that the code to do this was sent by you as a patch and 
> was added without modifications. 
>
> I've disabled this particular treating of gnustep apps for the moment 
> in the cvs copy of wmaker. please test and let me know how it works.  
> If any of the above behavior is somehow needed by gnustep apps (I failed 
> to understand the reasoning behind a treatment such as the one above) 
> then let me know and we can investigate what exactly of that patch 
> should be enabled. 

Well, I added the code to permit GNUstep apps to control their titlebars - after
discussion on the window maker and gnustep mailing lists.
This code may not be 100% correct ... but the focus problem with Window Maker
existed *before* this change was made ...

Thanks for looking into this.


reply via email to

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