Closed GoogleCodeExporter closed 9 years ago
Submitting patch for this and other minor click and drag issues.
Full list of changes:
On WM_LBUTTONDOWN:
- Call SetCapture() to track the mouse cursor when it goes outside the pager.
On WM_LBUTTONUP:
- Call ReleaseCapture()
- If the cursor is outside the pager cancel drag and return.
- Only bring a window to front if the cursor was initially over that window when the mouse button was pressed.
- Only switch to a desk if the cursor was initially over that desk when the mouse button was pressed.
On WM_MOUSEMOVE:
- If the mouse is outside the pager move dragged window to its initial desk and bails out.
Original comment by alexandre.jasmin
on 3 Jul 2010 at 3:32
Resubmitting patch without spaces after the “if” keyword conforming to the
existing style.
Original comment by alexandre.jasmin
on 3 Jul 2010 at 4:51
Attachments:
Small correction. If not mousing down on a window mousedowndesk=0
Original comment by alexandre.jasmin
on 8 Jul 2010 at 2:26
Attachments:
patch is applied,
closing the issue
Original comment by kvasdo...@gmail.com
on 17 Jul 2010 at 2:25
Original issue reported on code.google.com by
alexandre.jasmin
on 1 Jul 2010 at 4:11