diff options
author | Glenn Morris <rgm@gnu.org> | 2020-07-20 07:50:44 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2020-07-20 07:50:44 -0700 |
commit | fe2d0ede2874a5411d14e1cad3d72883823719c1 (patch) | |
tree | adb1bd4bcd6d80870bb0d1753d292b4db3773e1d /src/w32proc.c | |
parent | 0cbafc236bde83ff1600c1e51408e5d0dd3d1a92 (diff) | |
parent | cd93debc600b31ec7d257ba0195ae7132df83816 (diff) | |
download | emacs-fe2d0ede2874a5411d14e1cad3d72883823719c1.tar.gz |
Merge from origin/emacs-27
cd93debc60 (origin/emacs-27) Merge branch 'emacs-27' of git.savannah....
2c0c613ec5 Document prefix arg effects for 'epa-mail-{sign,encrypt}'
551123e0b2 * etc/NEWS: Correct description of :client-certificate change
05c4329cf5 Revert "Fix filename completion in shell mode buffers"
de68572742 Improve documentation of 'bookmark-bmenu-mode'
fd85e70be7 Update systems using GnuTLS certificate files
0d4ba1c2b2 Improve documentation of 'kill-emacs'
b3bbd4fd00 Improve documentation of 'display-raw-bytes-as-hex'
f50d79af6b Correct descriptions of init file
e325d2638c Fix interrupt-process on MS-Windows
d24e56a5e4 Revert "* doc/misc/flymake.texi (An annotated example back...
# Conflicts:
# etc/NEWS
Diffstat (limited to 'src/w32proc.c')
-rw-r--r-- | src/w32proc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/w32proc.c b/src/w32proc.c index 16e32e4c58d..c50f246a454 100644 --- a/src/w32proc.c +++ b/src/w32proc.c @@ -2790,11 +2790,11 @@ sys_kill (pid_t pid, int sig) /* Set the foreground window to the child. */ if (SetForegroundWindow (cp->hwnd)) { - /* Record the state of the Ctrl key: the user could - have it depressed while we are simulating Ctrl-C, - in which case we will have to leave the state of - Ctrl depressed when we are done. */ - short ctrl_state = GetKeyState (VK_CONTROL) & 0x8000; + /* Record the state of the left Ctrl key: the user + could have it depressed while we are simulating + Ctrl-C, in which case we will have to leave the + state of that Ctrl depressed when we are done. */ + short ctrl_state = GetKeyState (VK_LCONTROL) & 0x8000; /* Generate keystrokes as if user had typed Ctrl-Break or Ctrl-C. */ |