[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (ccb2e68847996fb65fac0041be6b2b91501e62cb)



The branch, master has been updated
       via  ccb2e68847996fb65fac0041be6b2b91501e62cb (commit)
      from  7a09bb3ab5c20ba1e3f687145000c5f142ed2fa6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/hid/gtk/gui-output-events.c |    1 +
 src/hid/lesstif/menu.c          |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)


=================
 Commit Messages
=================

commit ccb2e68847996fb65fac0041be6b2b91501e62cb
Author: Gabriel Paubert <paubert@xxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    Lesstif + GTK HIDs: Ignore ISO Level3 shift modifier key
    
    This key press is found on some international keyboards (e.g. Spanish).
    If we don't ignore it, PCB complains about the key not being tied to
    an action when it is pressed.
    
    From the committer, Peter Clifton <pcjc2@xxxxxxxxx>
    ...
    Thanks to Gabriel for reporting this and providing the patch for
    Lesstif. I have updated the patch to make the equivalent change to
    the GTK HID as well.
    
    Signed-off-By: Peter Clifton <pcjc2@xxxxxxxxx>

:100644 100644 d969dd2... 5f5f16e... M	src/hid/gtk/gui-output-events.c
:100644 100644 297768b... 8de2952... M	src/hid/lesstif/menu.c

=========
 Changes
=========

commit ccb2e68847996fb65fac0041be6b2b91501e62cb
Author: Gabriel Paubert <paubert@xxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    Lesstif + GTK HIDs: Ignore ISO Level3 shift modifier key
    
    This key press is found on some international keyboards (e.g. Spanish).
    If we don't ignore it, PCB complains about the key not being tied to
    an action when it is pressed.
    
    From the committer, Peter Clifton <pcjc2@xxxxxxxxx>
    ...
    Thanks to Gabriel for reporting this and providing the patch for
    Lesstif. I have updated the patch to make the equivalent change to
    the GTK HID as well.
    
    Signed-off-By: Peter Clifton <pcjc2@xxxxxxxxx>

diff --git a/src/hid/gtk/gui-output-events.c b/src/hid/gtk/gui-output-events.c
index d969dd2..5f5f16e 100644
--- a/src/hid/gtk/gui-output-events.c
+++ b/src/hid/gtk/gui-output-events.c
@@ -345,6 +345,7 @@ ghid_port_key_press_cb (GtkWidget * drawing_area,
     case GDK_Shift_L:
     case GDK_Shift_R:
     case GDK_Shift_Lock:
+    case GDK_ISO_Level3_Shift:
       break;
 
     case GDK_Up:
diff --git a/src/hid/lesstif/menu.c b/src/hid/lesstif/menu.c
index 297768b..8de2952 100644
--- a/src/hid/lesstif/menu.c
+++ b/src/hid/lesstif/menu.c
@@ -1140,6 +1140,7 @@ lesstif_key_event (XKeyEvent * e)
     case XK_Super_R:
     case XK_Hyper_L:
     case XK_Hyper_R:
+    case XK_ISO_Level3_Shift:
       return 1;
     }
 




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs