mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
Some X servers set MOD2 for some reason. Limit arrow/pgup/down to 'not alt/control/shift'
svn path=/trunk/netsurf/; revision=10310
This commit is contained in:
parent
c60d5113d8
commit
8b1cde1bb5
@ -541,7 +541,7 @@ gboolean nsgtk_window_keypress_event(GtkWidget *widget, GdkEventKey *event,
|
||||
if (browser_window_key_press(g->bw, nskey))
|
||||
return TRUE;
|
||||
|
||||
if (event->state == 0) {
|
||||
if ((event->state & 0x7) == 0) {
|
||||
double value;
|
||||
GtkAdjustment *vscroll = gtk_layout_get_vadjustment(g->layout);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user