Changeset 396


Ignore:
Timestamp:
Apr 15, 2010, 9:14:51 PM (11 years ago)
Author:
dmik
Message:

Fixed: Asynchronous painting could draw pages at the wrong location when switching between max view in contignuous mode and fullscreen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/gui/docViewer.cpp

    r395 r396  
    545545    fullscreen = _fullscreen;
    546546
     547    // make sure partial repaints from the async thread are discarded while we
     548    // change the document window's size and position several times below
     549    WinLockWindowUpdate( HWND_DESKTOP, hWndDocFrame );
     550
    547551    if ( fullscreen )
    548552    {
     
    561565        WinSetParent( hWndVscroll, hWndDocFrame, FALSE );
    562566    }
     567
     568    WinLockWindowUpdate( HWND_DESKTOP, NULLHANDLE );
    563569
    564570    WinSendMsg( hWndDocFrame, WM_UPDATEFRAME, MPVOID, MPVOID );
Note: See TracChangeset for help on using the changeset viewer.