[CONSRV]: Do not capture the mouse in the double-click case.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 13 Apr 2014 15:38:05 +0000 (15:38 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 13 Apr 2014 15:38:05 +0000 (15:38 +0000)
svn path=/trunk/; revision=62741

reactos/win32ss/user/winsrv/consrv/frontends/gui/conwnd.c

index 49fb50b..e83c024 100644 (file)
@@ -1240,7 +1240,6 @@ GuiConsoleHandleMouse(PGUI_CONSOLE_DATA GuiData, UINT msg, WPARAM wParam, LPARAM
                     Console->Selection.dwSelectionAnchor = cL;
                     Console->dwSelectionCursor           = cR;
 
                     Console->Selection.dwSelectionAnchor = cL;
                     Console->dwSelectionCursor           = cR;
 
-                    SetCapture(GuiData->hWindow);
                     Console->Selection.dwFlags |= CONSOLE_MOUSE_SELECTION | CONSOLE_MOUSE_DOWN;
                     GuiConsoleUpdateSelection(Console, &Console->dwSelectionCursor);
 
                     Console->Selection.dwFlags |= CONSOLE_MOUSE_SELECTION | CONSOLE_MOUSE_DOWN;
                     GuiConsoleUpdateSelection(Console, &Console->dwSelectionCursor);