Fixes #170318
2006-08-24 Andre Klapper <a9016009@gmx.de> Fixes #170318 * gnome-settings-multimedia-keys.c (init_kbd): avoid grabbing all the keyboard when the key code cannot be retrieved.
This commit is contained in:
parent
5d184d6893
commit
6ea13022e9
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2006-08-24 Andre Klapper <a9016009@gmx.de>
|
||||||
|
|
||||||
|
Fixes #170318
|
||||||
|
|
||||||
|
* gnome-settings-multimedia-keys.c (init_kbd): avoid grabbing all
|
||||||
|
the keyboard when the key code cannot be retrieved.
|
||||||
|
|
||||||
2006-07-11 Sebastien Bacher <seb128@debian.org>
|
2006-07-11 Sebastien Bacher <seb128@debian.org>
|
||||||
|
|
||||||
* Makefile.am: fix distclean build target
|
* Makefile.am: fix distclean build target
|
||||||
|
|
|
@ -433,6 +433,15 @@ init_kbd (Acme *acme)
|
||||||
g_free (key);
|
g_free (key);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
/*avoid grabbing all the keyboard when KeyCode cannot be retrieved */
|
||||||
|
if (key->keycode == AnyKey)
|
||||||
|
{
|
||||||
|
g_warning ("The shortcut key \"%s\" cannot be found on the current system, ignoring the binding", tmp);
|
||||||
|
g_free (tmp);
|
||||||
|
g_free (key);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
g_free (tmp);
|
g_free (tmp);
|
||||||
|
|
||||||
keys[i].key = key;
|
keys[i].key = key;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue