Mercurial > emacs
changeset 15242:56c035c36875
(w32_read_socket): Mask out lower 4 bits of wParam
for WM_SYSCOMMAND messages.
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Fri, 17 May 1996 06:12:35 +0000 |
parents | 9304a470dd2d |
children | c024dca549c5 |
files | src/w32term.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32term.c Wed May 15 21:56:33 1996 +0000 +++ b/src/w32term.c Fri May 17 06:12:35 1996 +0000 @@ -2627,7 +2627,7 @@ break; case WM_SYSCOMMAND: - switch (msg.msg.wParam) + switch (msg.msg.wParam & 0xfff0) /* Lower 4 bits used by Windows. */ { case SC_CLOSE: f = x_window_to_frame (dpyinfo, msg.msg.hwnd);