From 1099e0fc998763cb9c16027710720ce198a91258 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 20 Jun 2013 23:44:33 +0200 Subject: w32_common: prevent that window dragging and mouse input interfere --- video/out/w32_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 579b01141c..783bd7fb06 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -258,7 +258,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, int y = GET_Y_LPARAM(lParam); mouse_button |= mod_state(vo); if (mouse_button == (MP_MOUSE_BTN0 | MP_KEY_STATE_DOWN) && - !vo->opts->fs) + !vo->opts->fs && !mp_input_test_dragging(vo->input_ctx, x, y)) { // Window dragging hack ReleaseCapture(); -- cgit v1.2.3