gtk+ r20413 - in trunk: . gdk/x11
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20413 - in trunk: . gdk/x11
- Date: Tue, 17 Jun 2008 02:11:47 +0000 (UTC)
Author: matthiasc
Date: Tue Jun 17 02:11:47 2008
New Revision: 20413
URL: http://svn.gnome.org/viewvc/gtk+?rev=20413&view=rev
Log:
* gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
against XKB being stupid. Reported by Pedro Villavicencio.
Modified:
trunk/ChangeLog
trunk/gdk/x11/gdkkeys-x11.c
Modified: trunk/gdk/x11/gdkkeys-x11.c
==============================================================================
--- trunk/gdk/x11/gdkkeys-x11.c (original)
+++ trunk/gdk/x11/gdkkeys-x11.c Tue Jun 17 02:11:47 2008
@@ -1661,7 +1661,7 @@
{
XkbDescRec *xkb = get_xkb (keymap_x11);
- if (xkb->map->modmap[keycode] != 0)
+ if (xkb->map->modmap && xkb->map->modmap[keycode] != 0)
return TRUE;
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]