# HG changeset patch # User Steven Tamm # Date 1034287502 0 # Node ID ac4ceed3bbaf6c05ba13180cda1d7b660ae4d74c # Parent 353dae5e01342efe218a5fd0e77f0571a748b87e * macterm.c (syms_of_macterm, mac_get_mouse_btn): Reversed functionality of mac-wheel-button-is-mouse-2 to be correct. Also switched the default to Qnil from Qt. diff -r 353dae5e0134 -r ac4ceed3bbaf src/macterm.c --- a/src/macterm.c Thu Oct 10 18:01:57 2002 +0000 +++ b/src/macterm.c Thu Oct 10 22:05:02 2002 +0000 @@ -11586,10 +11586,10 @@ case kEventMouseButtonPrimary: return 0; case kEventMouseButtonSecondary: - return NILP (Vmac_wheel_button_is_mouse_2) ? 2 : 1; + return NILP (Vmac_wheel_button_is_mouse_2) ? 1 : 2; case kEventMouseButtonTertiary: case 4: /* 4 is the number for the mouse wheel button */ - return NILP (Vmac_wheel_button_is_mouse_2) ? 1 : 2; + return NILP (Vmac_wheel_button_is_mouse_2) ? 2 : 1; default: return 0; } @@ -13636,7 +13636,7 @@ doc: /* Non-nil means that the wheel button will be treated as mouse-2 and the right click will be mouse-3. Otherwise, the right click will be mouse-2 and the wheel button mouse-3.*/); - Vmac_wheel_button_is_mouse_2 = Qt; + Vmac_wheel_button_is_mouse_2 = Qnil; DEFVAR_LISP ("mac-pass-command-to-system", &Vmac_pass_command_to_system, doc: /* If non-nil, the Mac \"Command\" key is passed on to the Mac