Ignore:
Timestamp:
Mar 31, 2001, 12:48:41 PM (24 years ago)
Author:
sandervl
Message:

disable logging while processing mouse messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/oslibmsgtranslate.cpp

    r5409 r5413  
    1 /* $Id: oslibmsgtranslate.cpp,v 1.44 2001-03-30 23:59:46 sandervl Exp $ */
     1/* $Id: oslibmsgtranslate.cpp,v 1.45 2001-03-31 10:48:41 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    390390        HWND hwnd;
    391391
     392        DisableLogging();
    392393        hwnd = WindowFromPoint(winMsg->pt);
    393394        if(win32wnd->getWindowHandle() != hwnd) {
     
    395396            if(win32wnd == NULL) {
    396397                DebugInt3();
     398                EnableLogging();
    397399                goto dummymessage;
    398400            }
     
    429431            winMsg->lParam  = MAKELONG(ClientPoint.x, ClientPoint.y); //client coordinates
    430432        }
     433#ifdef ODIN_HITTEST
     434        EnableLogging();
     435#endif
    431436        if((fMsgRemoved == MSG_REMOVE) && ISMOUSE_CAPTURED())
    432437        {
     
    467472        HWND hwnd;
    468473
     474        DisableLogging();
    469475        hwnd = WindowFromPoint(winMsg->pt);
    470476        if(win32wnd->getWindowHandle() != hwnd) {
     
    472478            if(win32wnd == NULL) {
    473479                DebugInt3();
     480                EnableLogging();
    474481                goto dummymessage;
    475482            }
     
    508515            winMsg->lParam  = MAKELONG(ClientPoint.x, ClientPoint.y); //client coordinates
    509516        }
     517#ifdef ODIN_HITTEST
     518        EnableLogging();
     519#endif
    510520        if((fMsgRemoved == MSG_REMOVE) && ISMOUSE_CAPTURED())
    511521        {
Note: See TracChangeset for help on using the changeset viewer.