Changeset 6936 for trunk/src


Ignore:
Timestamp:
Oct 3, 2001, 3:50:36 PM (24 years ago)
Author:
sandervl
Message:

Always call visible region callback when receiving WM_VRNENABLED

File:
1 edited

Legend:

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

    r6928 r6936  
    1 /* $Id: pmwindow.cpp,v 1.150 2001-10-02 17:14:09 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.151 2001-10-03 13:50:36 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    355355    case WM_VRNENABLED:
    356356        dprintf(("OS2: WM_VRNENABLED %x %x %x", win32wnd->getWindowHandle(), mp1, mp2));
     357        //Always call handler; even if mp1 is 0. If we don't do this, the
     358        //DivX 4 player will never be allowed to draw after putting another window
     359        //on top of it.
     360        win32wnd->callVisibleRgnNotifyProc(TRUE);
    357361        if(!win32wnd->isComingToTop() && ((win32wnd->getExStyle() & WS_EX_TOPMOST_W) == WS_EX_TOPMOST_W))
    358362        {
     
    373377            win32wnd->setComingToTop(FALSE);
    374378            break;
    375         }
    376         if(mp1) {//visible region has been altered
    377             win32wnd->callVisibleRgnNotifyProc(TRUE);
    378379        }
    379380        goto RunDefWndProc;
Note: See TracChangeset for help on using the changeset viewer.