Introduction
Introduction Statistics Contact Development Disclaimer Help
tFixing keybindings when numlock is enabled. - surf - customized build of surf,…
git clone git://src.adamsgaard.dk/surf
Log
Files
Refs
README
LICENSE
---
commit d408ffb5950d571f938cb834e445e8dc8d3fde3c
parent b95f15e9876b05625420bc3f8963e3d4d85ccc64
Author: Enno Boland (Gottox) <[email protected]>
Date: Mon, 8 Jun 2009 20:50:45 +0200
Fixing keybindings when numlock is enabled.
Diffstat:
M surf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/surf.c b/surf.c
t@@ -204,7 +204,7 @@ keypress(GtkWidget* w, GdkEventKey *ev, gpointer d) {
return FALSE;
}
}
- if(ev->state == GDK_CONTROL_MASK || ev->state == (GDK_CONTROL_MASK | G…
+ if((ev->state & ~(GDK_SHIFT_MASK|GDK_LOCK_MASK)) == GDK_CONTROL_MASK) {
switch(ev->keyval) {
case GDK_r:
case GDK_R:
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.