Index: gtk+3.0-3.4.1/gdk/x11/gdkkeys-x11.c =================================================================== --- gtk+3.0-3.4.1.orig/gdk/x11/gdkkeys-x11.c 2012-03-19 10:14:37.000000000 +0800 +++ gtk+3.0-3.4.1/gdk/x11/gdkkeys-x11.c 2012-05-18 22:44:30.073884042 +0800 @@ -1557,7 +1557,10 @@ if (*state & (1 << i)) retval = FALSE; else + { *state |= 1 << i; + *state &= ~vmods[j]; + } } } }