aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2016-06-23 17:32:01 +0300
committerEli Zaretskii2016-06-23 17:32:01 +0300
commit11a17619737b16d10bfad03b52097943eebc517f (patch)
tree413822bbba53ea8c140de75086779b63b1421356 /src
parent07a986ea7e0f6310e4452aaaeb8c80a02cc6a82d (diff)
downloademacs-11a17619737b16d10bfad03b52097943eebc517f.tar.gz
emacs-11a17619737b16d10bfad03b52097943eebc517f.zip
Fix handling of LWINDOW key on MS-Windows
* src/w32fns.c (funhook): Correct a typo which broke handling of the LWINDOW key. (Bug#23830)
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c2
1 files changed, 1 insertions, 1 deletions
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)
2178 can prevent this by setting the 2178 can prevent this by setting the
2179 w32-pass-[lr]window-to-system variable to 2179 w32-pass-[lr]window-to-system variable to
2180 NIL. */ 2180 NIL. */
2181 if (hs->vkCode == (VK_LWIN && !NILP (Vw32_pass_lwindow_to_system)) || 2181 if ((hs->vkCode == VK_LWIN && !NILP (Vw32_pass_lwindow_to_system)) ||
2182 (hs->vkCode == VK_RWIN && !NILP (Vw32_pass_rwindow_to_system))) 2182 (hs->vkCode == VK_RWIN && !NILP (Vw32_pass_rwindow_to_system)))
2183 { 2183 {
2184 /* Not prevented - Simulate the keypress to the system. */ 2184 /* Not prevented - Simulate the keypress to the system. */