From 11a17619737b16d10bfad03b52097943eebc517f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 23 Jun 2016 17:32:01 +0300 Subject: [PATCH] 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 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. */ -- 2.39.2