mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
forgot to commit a fix
svn path=/trunk/; revision=9140
This commit is contained in:
parent
81a46fb20d
commit
9816ef1a2b
1 changed files with 5 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: msgqueue.c,v 1.84 2004/04/14 17:19:38 weiden Exp $
|
/* $Id: msgqueue.c,v 1.85 2004/04/14 17:35:47 weiden Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -457,7 +457,8 @@ MsqTranslateMouseMessage(HWND hWnd, UINT FilterLow, UINT FilterHigh,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(hWnd != NULL && Window->Self != hWnd)
|
if((hWnd != NULL && Window->Self != hWnd) ||
|
||||||
|
((FilterLow != 0 || FilterLow != 0) && (Msg < FilterLow || Msg > FilterHigh)))
|
||||||
{
|
{
|
||||||
/* Reject the message because it doesn't match the filter */
|
/* Reject the message because it doesn't match the filter */
|
||||||
|
|
||||||
|
@ -475,7 +476,8 @@ MsqTranslateMouseMessage(HWND hWnd, UINT FilterLow, UINT FilterHigh,
|
||||||
|
|
||||||
if (Message->Msg.message == WM_MOUSEMOVE)
|
if (Message->Msg.message == WM_MOUSEMOVE)
|
||||||
{
|
{
|
||||||
if(Window->MessageQueue->MouseMoveMsg)
|
if(Window->MessageQueue->MouseMoveMsg &&
|
||||||
|
(Window->MessageQueue->MouseMoveMsg != Message))
|
||||||
{
|
{
|
||||||
/* delete the old message */
|
/* delete the old message */
|
||||||
RemoveEntryList(&Window->MessageQueue->MouseMoveMsg->ListEntry);
|
RemoveEntryList(&Window->MessageQueue->MouseMoveMsg->ListEntry);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue