Changeset 494


Ignore:
Timestamp:
May 2, 2011, 10:40:46 PM (11 years ago)
Author:
dmik
Message:

Fixed: Launching Lucide in a background session (e.g. from a fullscreen session) would cause the document pages to have zero width and height and be effectively invisible until the Lucide window is resized. Closes #163.

File:
1 edited

Legend:

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

    r491 r494  
    6363// switching pages in documents with dark page backgrounds. A possible solution
    6464// would be to introduce a method to the document interface that returns the
    65 // background color for the given page and use this color instead. 
     65// background color for the given page and use this color instead.
    6666//#define FILL_PAGE_BACKGROUND
    6767
     
    913913void DocumentViewer::wmSize( HWND hwnd, MPARAM mp2 )
    914914{
    915     if ( !WinIsWindowShowing( hwnd ) ) {
    916         return;
    917     }
    918 
    919915    BOOL sizeChanged = cxClient != SHORT1FROMMP( mp2 ) ||
    920916                       cyClient != SHORT2FROMMP( mp2 );
Note: See TracChangeset for help on using the changeset viewer.