]> git.eshelyaron.com Git - emacs.git/commitdiff
* nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified key to emacs, treat...
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Tue, 22 Feb 2011 14:13:54 +0000 (16:13 +0200)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Tue, 22 Feb 2011 14:13:54 +0000 (16:13 +0200)
src/ChangeLog
src/nsterm.m

index d68e857d388e5f0a0009647f2935ea6aa4f72e5f..4823d873847b53d558a29518980779bed668d835 100644 (file)
@@ -1,3 +1,9 @@
+2011-02-22  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+       * nsterm.m (EmacsView-keyDown:): Don't pass shift-only-modified
+       key to emacs, treat as unmodified (go to input manager
+       processing).
+
 2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>
 
        Assume S_ISLNK etc. work, since gnulib supports this.
index a09c95c7d017b9e6f43ed2095f22f0953aa4f986..038709869a935818f2b4d13b93d1952e2d014888 100644 (file)
@@ -4542,6 +4542,7 @@ ns_term_shutdown (int sig)
 
       /* if it was a function key or had modifiers, pass it directly to emacs */
       if (fnKeysym || (emacs_event->modifiers
+                       && (emacs_event->modifiers != shift_modifier)
                        && [[theEvent charactersIgnoringModifiers] length] > 0))
 /*[[theEvent characters] length] */
         {