Changeset 1076 for trunk/src


Ignore:
Timestamp:
Sep 12, 2011, 6:58:45 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

OS/2: Fix initial top-level window paint in DIVE mode.

Due to a tiny bug the contents of newly shown top-level windows could be
sometimes left unpainted until moved or resized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/painting/qwindowsurface_pm.cpp

    r1035 r1076  
    390390
    391391    wd->vrnDirty = true;
     392
    392393    wd->widgetHeight = 0;
    393394    wd->rclCount = 0;
     
    429430    switch (msg->msg) {
    430431        case WM_VRNDISABLED: {
     432
    431433            if (msg->hwnd == that->window()->internalWinId()) {
    432434                if (!useFB)
     
    452454        }
    453455        case WM_VRNENABLED: {
     456
    454457            QWidget *widget = msg->hwnd == that->window()->internalWinId() ?
    455458                              that->window() : QWidget::find(msg->hwnd);
     
    645648    QPMDiveWindowSurfacePrivate::WidgetData *wd = d->widgetData(widget);
    646649    Q_ASSERT(wd);
     650
     651
     652
    647653
    648654    if (wd->vrnDisabled) {
Note: See TracChangeset for help on using the changeset viewer.