From 2683b83bdbd33504e483ab28b2a39df1942b6a9f Mon Sep 17 00:00:00 2001 From: tomch Date: Fri, 9 Aug 2013 22:04:02 +0000 Subject: [PATCH] Fix [Bug #18723,#19070] Mouse movement for CopyII+9.1 and ProTERM3.1 --- AppleWin/docs/History.txt | 1 + AppleWin/source/MouseInterface.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/AppleWin/docs/History.txt b/AppleWin/docs/History.txt index 52cf5940..abcdd51a 100644 --- a/AppleWin/docs/History.txt +++ b/AppleWin/docs/History.txt @@ -19,6 +19,7 @@ Changes: Fixes: . Fixed save-state bug for when 4K BANK1 is dirty (previously it would save the stale data instead). +. [Bug #18723,#19070] Mouse movement for CopyII+9.1 and ProTERM3.1. 1.23.0 - 26 Apr 2013 diff --git a/AppleWin/source/MouseInterface.cpp b/AppleWin/source/MouseInterface.cpp index 50db1a2b..36d81962 100644 --- a/AppleWin/source/MouseInterface.cpp +++ b/AppleWin/source/MouseInterface.cpp @@ -443,7 +443,11 @@ void CMouseInterface::OnMouseEvent(bool bEventVBL) BOOL bBtn0 = m_bButtons[0]; BOOL bBtn1 = m_bButtons[1]; if ( m_nX != m_iX || m_nY != m_iY ) + { byState |= STAT_INT_MOVEMENT|STAT_MOVEMENT_SINCE_READMOUSE; // X/Y moved since last READMOUSE | Movement interrupt + m_byState |= STAT_MOVEMENT_SINCE_READMOUSE; // [TC] Used by CopyII+9.1 and ProTERM3.1 + } + if ( m_bBtn0 != bBtn0 || m_bBtn1 != bBtn1 ) byState |= STAT_INT_BUTTON; // Button 0/1 interrupt if ( bEventVBL )