|
From: | David Reitter |
Subject: | Re: Carbon: display-buffer can leave wrong frame with input focus |
Date: | Thu, 9 Feb 2006 08:58:10 +0000 |
On 9 Feb 2006, at 08:04, YAMAMOTO Mitsuharu wrote:
Could you try the following patch that prevents raise-frame from giving focus to a raised frame that is already visible? Note that a newly created or previously iconified frame still gets focus when the frame is popped up by display-buffer, but this behavior is also observed with some X11 window managers.
Works as intended. The fact that newly opened frames get the focus seems inconsistent, however. From a user's perspective, the same sequence of inputs will not lead to the same results, depending on whether the other frame happens to get focus or not. I think it'd be better if the newly opened frame never gets focus - even if the window manager initially gives it focus. That would implement the documentation of display-buffer more closely: "Make buffer appear in some window but don't select it."
[Prev in Thread] | Current Thread | [Next in Thread] |