fixing #163299
This commit is contained in:
parent
6b0d6cac30
commit
bbf89d121b
2 changed files with 15 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-01-08 Sergey V. Udaltsov <svu@gnome.org>
|
||||
|
||||
* gnome-settings-keyboard-xkb.c: fix #163299
|
||||
|
||||
2005-01-07 Sebastien Bacher <seb128@debian.org>
|
||||
|
||||
* gnome-settings-mouse.c: (set_locate_pointer): add Mod2Mask and
|
||||
|
|
|
@ -288,6 +288,15 @@ gnome_settings_keyboard_xkb_set_post_activation_callback
|
|||
paCallbackUserData = userData;
|
||||
}
|
||||
|
||||
static GdkFilterReturn
|
||||
gnome_settings_keyboard_xkb_evt_filter (GdkXEvent * xev,
|
||||
GdkEvent * event)
|
||||
{
|
||||
XEvent *xevent = (XEvent *) xev;
|
||||
XklFilterEvents (xevent);
|
||||
return GDK_FILTER_CONTINUE;
|
||||
}
|
||||
|
||||
void
|
||||
gnome_settings_keyboard_xkb_init (GConfClient * client)
|
||||
{
|
||||
|
@ -312,10 +321,10 @@ gnome_settings_keyboard_xkb_init (GConfClient * client)
|
|||
(KeyCallbackFunc) apply_xkb_settings);
|
||||
|
||||
gdk_window_add_filter (NULL,
|
||||
(GdkFilterFunc) XklFilterEvents,
|
||||
(GdkFilterFunc) gnome_settings_keyboard_xkb_evt_filter,
|
||||
NULL);
|
||||
gdk_window_add_filter (gdk_get_default_root_window(),
|
||||
(GdkFilterFunc) XklFilterEvents,
|
||||
(GdkFilterFunc) gnome_settings_keyboard_xkb_evt_filter,
|
||||
NULL);
|
||||
XklStartListen (XKLL_MANAGE_LAYOUTS | XKLL_MANAGE_WINDOW_STATES);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue