[Top][All Lists]

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

Re: Focus Problem ?

From: Adam Fedor
Subject: Re: Focus Problem ?
Date: Thu, 7 Nov 2002 12:06:43 -0700

On Thursday, November 7, 2002, at 11:50 AM, Benhur Stein wrote:
The logs with --GNU-Debug=Focus are:

When the key is on window 13 and I click on windows 12's title, it says:
2002-11-07 18:41:58.534 Terminal[2696] take focus:12 (current=13 key=13)
keystrokes go to window 13

My mistake, I typically don't let take focus message from the window manager control which one is the key window, since they are often spurious. But in this case, clicking on the title bar should make the window key. I'll have to figure out how to handle that.

If I click over window 13 title, I get:
2002-11-07 18:42:07.243 Terminal[2696] take focus:13 (current=13 key=13)

Clicking inside window 12:
2002-11-07 18:43:38.384 Terminal[2696] Setting focus to 12
2002-11-07 18:43:38.389 Terminal[2696] Focus went to 12 (xwin 41943245)
2002-11-07 18:43:38.389 Terminal[2696] 41943291 lost focus on 13
2002-11-07 18:43:38.389 Terminal[2696] 41943245 got focus on 12
and only now the keystrokes go to window 12.

Yep, here the app is actually asking for 12 to become the key.

reply via email to

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