Ignore:
Timestamp:
Jan 13, 2010, 9:14:29 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: DnD: Drag party code in progress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qapplication_pm.cpp

    r447 r448  
    117117
    118118static HWND autoCaptureWnd = NULLHANDLE;
    119 static bool autoCaptureReleased = FALSE;
     119static bool autoCaptureReleased = false;
    120120static void setAutoCapture(HWND); // automatic capture
    121121static void releaseAutoCapture();
     
    21172117}
    21182118#endif
     2119
     2120/*!
     2121    \internal
     2122    In DnD, the mouse release event never appears, so the
     2123    mouse button state machine must be manually reset.
     2124*/
     2125void qt_pmMouseButtonUp()
     2126{
     2127    // release any stored mouse capture
     2128    qt_button_down = 0;
     2129    autoCaptureReleased = true;
     2130    releaseAutoCapture();
     2131}
    21192132
    21202133//
Note: See TracChangeset for help on using the changeset viewer.