win_opengl: add routing for buttondowns to fix mouse capturing with recent changes to master

This commit is contained in:
ts-korhonen
2021-04-13 23:20:58 +03:00
parent d64f0c23e7
commit 6919acd665

View File

@@ -247,7 +247,9 @@ static void winmessage_hook(void* userdata, void* hWnd, unsigned int message, Ui
switch (message)
{
case WM_LBUTTONUP:
case WM_LBUTTONDOWN:
case WM_MBUTTONUP:
case WM_MBUTTONDOWN:
if (!*msg_data->fullscreen)
{
/* Mouse events that enter and exit capture. */