From 15f2f5d9016ec19b7c49c7f34c11334ce8de9b23 Mon Sep 17 00:00:00 2001 From: ender Date: Tue, 24 Nov 1998 08:34:37 +0000 Subject: [PATCH] Take emulated button state into account before handing off mouse events. Fixes part of PR 6444. Tested by Frederick Bruckman (fb@enteract.com). --- sys/arch/mac68k/dev/aed.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/mac68k/dev/aed.c b/sys/arch/mac68k/dev/aed.c index fed21dd81da2..15d9ccfaae66 100644 --- a/sys/arch/mac68k/dev/aed.c +++ b/sys/arch/mac68k/dev/aed.c @@ -1,4 +1,4 @@ -/* $Id: aed.c,v 1.2 1998/10/26 19:20:00 ender Exp $ */ +/* $Id: aed.c,v 1.3 1998/11/24 08:34:37 ender Exp $ */ /* * Copyright (C) 1994 Bradley A. Grantham @@ -152,6 +152,7 @@ aed_input(event) aed_dokeyupdown(&new_event); break; case ADBADDR_MS: + new_event.u.m.buttons |= aed_sc->sc_buttons; aed_handoff(&new_event); break; default: /* God only knows. */