Comment 28 for bug 280646

Revision history for this message
Matt Zimmerman (mdz) wrote :

Since the num lock bug is old, I'm trying to work out why the brightness keys don't work when that gconf key is set.

When numlock_on is false, gnome-power-manager sees KeyPress events for the brightness keys in gpm_button_filter_x_events and responds.

When numlock_on is true, gpm_button_filter_x_events is never even called.

The callback is registered like this:

                /* use global filter */
                gdk_window_add_filter (button->priv->window,
                                       gpm_button_filter_x_events, (gpointer) button);