qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs x11.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs x11.c
Date: Tue, 29 Apr 2014 22:24:40 +0000

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        14/04/29 22:24:40

Modified files:
        .              : x11.c 

Log message:
        x11: fix meta mask for non Darwin targets (fbellard)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/x11.c?cvsroot=qemacs&r1=1.35&r2=1.36

Patches:
Index: x11.c
===================================================================
RCS file: /sources/qemacs/qemacs/x11.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- x11.c       10 Feb 2014 01:57:35 -0000      1.35
+++ x11.c       29 Apr 2014 22:24:40 -0000      1.36
@@ -1400,8 +1400,10 @@
             shift = (xev.xkey.state & ShiftMask);
             ctrl = (xev.xkey.state & ControlMask);
             meta = (xev.xkey.state & Mod1Mask);
+#ifdef CONFIG_DARWIN
             /* Also interpret Darwin's Command key as Meta */
             meta |= (xev.xkey.state & Mod2Mask);
+#endif
 #if 0
             put_error(NULL, "keysym=%d %d %s%s%s len=%d buf[0]=%d",
                       (int)keysym, (int)xev.xkey.state,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]