emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 11a1761: Fix handling of LWINDOW key on MS-Windows


From: Eli Zaretskii
Subject: [Emacs-diffs] master 11a1761: Fix handling of LWINDOW key on MS-Windows
Date: Thu, 23 Jun 2016 14:33:41 +0000 (UTC)

branch: master
commit 11a17619737b16d10bfad03b52097943eebc517f
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix handling of LWINDOW key on MS-Windows
    
    * src/w32fns.c (funhook): Correct a typo which broke handling of
    the LWINDOW key.  (Bug#23830)
---
 src/w32fns.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/w32fns.c b/src/w32fns.c
index 5ad2ca8..20e09d8 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -2178,7 +2178,7 @@ funhook (int code, WPARAM w, LPARAM l)
                     can prevent this by setting the
                     w32-pass-[lr]window-to-system variable to
                     NIL.  */
-                 if (hs->vkCode == (VK_LWIN && !NILP 
(Vw32_pass_lwindow_to_system)) ||
+                 if ((hs->vkCode == VK_LWIN && !NILP 
(Vw32_pass_lwindow_to_system)) ||
                      (hs->vkCode == VK_RWIN && !NILP 
(Vw32_pass_rwindow_to_system)))
                    {
                      /* Not prevented - Simulate the keypress to the system.  
*/



reply via email to

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