]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix handling of LWINDOW key on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Thu, 23 Jun 2016 14:32:01 +0000 (17:32 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 23 Jun 2016 14:32:01 +0000 (17:32 +0300)
* src/w32fns.c (funhook): Correct a typo which broke handling of
the LWINDOW key.  (Bug#23830)

src/w32fns.c

index 5ad2ca857a2785962a9dc4bb99b8a861524522bf..20e09d8a4630134e62605abd70c83b52d5f9ca97 100644 (file)
@@ -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.  */