diff options
author | Enno Boland (Gottox) <gottox@s01.de> | 2009-06-08 20:50:45 +0200 |
---|---|---|
committer | Enno Boland (Gottox) <gottox@s01.de> | 2009-06-08 20:50:45 +0200 |
commit | d408ffb5950d571f938cb834e445e8dc8d3fde3c (patch) | |
tree | ca2bad7d8c844bdf1ca95afab8d6195364c2551d /surf.c | |
parent | b95f15e9876b05625420bc3f8963e3d4d85ccc64 (diff) | |
download | surf-d408ffb5950d571f938cb834e445e8dc8d3fde3c.tar.gz surf-d408ffb5950d571f938cb834e445e8dc8d3fde3c.tar.bz2 surf-d408ffb5950d571f938cb834e445e8dc8d3fde3c.zip |
Fixing keybindings when numlock is enabled.
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -204,7 +204,7 @@ keypress(GtkWidget* w, GdkEventKey *ev, gpointer d) { return FALSE; } } - if(ev->state == GDK_CONTROL_MASK || ev->state == (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) { + if((ev->state & ~(GDK_SHIFT_MASK|GDK_LOCK_MASK)) == GDK_CONTROL_MASK) { switch(ev->keyval) { case GDK_r: case GDK_R: |