From db0a48e79b400c15afbc8f5d3fbb5a0a8b14bb24 Mon Sep 17 00:00:00 2001 From: Thomas Brand Date: Wed, 17 Jun 2020 00:08:13 +0200 Subject: Windows: Use default cursor on window decoration Update AUTHORS --- pugl/detail/win.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pugl/detail/win.c') diff --git a/pugl/detail/win.c b/pugl/detail/win.c index 16c7e7a..b29ccf4 100644 --- a/pugl/detail/win.c +++ b/pugl/detail/win.c @@ -560,6 +560,8 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam) case WM_SETCURSOR: if (LOWORD(lParam) == HTCLIENT) { SetCursor(view->impl->cursor); + } else { + return DefWindowProc(view->impl->hwnd, message, wParam, lParam); } break; case WM_SHOWWINDOW: -- cgit v1.2.1