aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32fns.c
diff options
context:
space:
mode:
authorJason Rumney2000-02-27 21:36:00 +0000
committerJason Rumney2000-02-27 21:36:00 +0000
commit7ce9aaca2eda9fadc5e6bb8d28e970da8f2c8252 (patch)
tree186f78b2ea7df0533ddfcadb8cc9df0b376c94a2 /src/w32fns.c
parentbcc4670cfe5fa06c8bd2e920b7f3913dabdb3426 (diff)
downloademacs-7ce9aaca2eda9fadc5e6bb8d28e970da8f2c8252.tar.gz
emacs-7ce9aaca2eda9fadc5e6bb8d28e970da8f2c8252.zip
(w32_wnd_proc) [WM_LBUTTON_DOWN, WM_RBUTTON_DOWN, WM_LBUTTON_UP,
WM_RBUTTON_UP]: Do not treat 4 or more button mice as 2 button mice.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r--src/w32fns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index ea52c2d3808..45ea7b1f475 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -124,7 +124,7 @@ Lisp_Object Vw32_enable_caps_lock;
124/* Modifier associated with Scroll Lock, or nil to act as a normal key. */ 124/* Modifier associated with Scroll Lock, or nil to act as a normal key. */
125Lisp_Object Vw32_scroll_lock_modifier; 125Lisp_Object Vw32_scroll_lock_modifier;
126 126
127/* Switch to control whether we inhibit requests for synthesyzed bold 127/* Switch to control whether we inhibit requests for synthesized bold
128 and italic versions of fonts. */ 128 and italic versions of fonts. */
129Lisp_Object Vw32_enable_synthesized_fonts; 129Lisp_Object Vw32_enable_synthesized_fonts;
130 130
@@ -4212,7 +4212,7 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
4212 are used together, but only if user has two button mouse. */ 4212 are used together, but only if user has two button mouse. */
4213 case WM_LBUTTONDOWN: 4213 case WM_LBUTTONDOWN:
4214 case WM_RBUTTONDOWN: 4214 case WM_RBUTTONDOWN:
4215 if (XINT (Vw32_num_mouse_buttons) == 3) 4215 if (XINT (Vw32_num_mouse_buttons) > 2)
4216 goto handle_plain_button; 4216 goto handle_plain_button;
4217 4217
4218 { 4218 {
@@ -4275,7 +4275,7 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
4275 4275
4276 case WM_LBUTTONUP: 4276 case WM_LBUTTONUP:
4277 case WM_RBUTTONUP: 4277 case WM_RBUTTONUP:
4278 if (XINT (Vw32_num_mouse_buttons) == 3) 4278 if (XINT (Vw32_num_mouse_buttons) > 2)
4279 goto handle_plain_button; 4279 goto handle_plain_button;
4280 4280
4281 { 4281 {