Protect against XKB being stupid. Reported by Pedro Villavicencio.
* gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
        against XKB being stupid. Reported by Pedro Villavicencio.
svn path=/trunk/; revision=20413
			
			
This commit is contained in:
		| @ -1661,7 +1661,7 @@ _gdk_keymap_key_is_modifier (GdkKeymap *keymap, | ||||
|     { | ||||
|       XkbDescRec *xkb = get_xkb (keymap_x11); | ||||
|        | ||||
|       if (xkb->map->modmap[keycode] != 0) | ||||
|       if (xkb->map->modmap && xkb->map->modmap[keycode] != 0) | ||||
| 	return TRUE; | ||||
|     } | ||||
|   else | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen