From: Eli Zaretskii Date: Thu, 23 Jun 2016 14:32:01 +0000 (+0300) Subject: Fix handling of LWINDOW key on MS-Windows X-Git-Tag: emacs-26.0.90~1840^2~188 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=11a17619737b16d10bfad03b52097943eebc517f;p=emacs.git Fix handling of LWINDOW key on MS-Windows * src/w32fns.c (funhook): Correct a typo which broke handling of the LWINDOW key. (Bug#23830) --- diff --git a/src/w32fns.c b/src/w32fns.c index 5ad2ca857a2..20e09d8a463 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. */