Bug 6574

Summary: Application launcher (ALT+F2) doesn't get focus
Product: xorg Reporter: Michal Krenek (Mikos) <mikos>
Component: App/compizAssignee: David Reveman <reveman>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: erik.andren
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Michal Krenek (Mikos) 2006-04-13 05:40:23 UTC
If I press ALT+F2, launchbar appears, but doesn't get focus. I must click on it,
which it is really annoying.

It has worked in the past, I think this has something to do with these changes
(copied from ChangeLog file):


2006-04-10  Dan Winship  <danw@novell.com>

        * src/window.c (focusWindowOnMap): new function to decide whether
        or not to focus a newly-mapped window. In addition to the old
        checks, this also checks that _NET_WM_USER_TIME isn't 0, to allow
        a window to explicitly request to not get focus.

        * src/event.c (handleEvent): use focusWindowOnMap when processing
        MapRequest.

        * plugins/rotate.c (rotateHandleEvent): fix _NET_ACTIVE_WINDOW
        handling so this doesn't interfere with focusable panel applets.
Comment 1 Erik Andren 2006-04-14 00:20:06 UTC
Well, does reverting these changes solve your problem?
Comment 2 Dan Winship 2006-04-15 01:18:09 UTC
This is fixed in the latest CVS:

        * src/screen.c (panelAction): take a timestamp and pass that to
        the panel rather than using CurrentTime

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.