On Mon, 2008-10-27 at 22:00 +0000, Bryce Harrington wrote:
> In any case, I think we need g-p-m folks to analyze this more
> thoroughly.  Ted?

The only thing that I can figure is that in this case GPM is swallowing
the keypress, while in others it's letting GDK take care of it
completely.  I'm unsure why that would make a difference, I've sorted
through the GDK-X11 source code and it all looks straight forward.  I
don't see any focus locks or anything of the such.

The only thing that I could see is changing it so that GPM never
swallows the keypress.  In theory this shouldn't change anything as
nobody else should be looking for it.

Could someone who can recreate this try changing this code in
src/gpm-button.c:

    egg_debug ("Key %i mapped to HAL key %s", keycode, key);
    g_signal_emit (button, signals [BUTTON_PRESSED], 0, key);

    return GDK_FILTER_REMOVE;
}

So that it it returns GDK_FILTER_CONTINUE instead of
GDK_FILTER_CONTINUE.

Thanks!

-- 
Losing keyboard and mouse control when changing screen brightness with fn + 
arrow under intrepid
https://bugs.launchpad.net/bugs/285323
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-power-manager in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to