aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
authorThomas Brand <tom@trellis.ch>2020-06-17 00:08:13 +0200
committerDavid Robillard <d@drobilla.net>2020-10-17 00:14:56 +0200
commitdb0a48e79b400c15afbc8f5d3fbb5a0a8b14bb24 (patch)
treed2a0d1410fc830939eef6ef8035ff5f1d8087b0f /pugl
parent743db99714724c43f92cd8bcc004b5b0cd4217ef (diff)
downloadpugl-db0a48e79b400c15afbc8f5d3fbb5a0a8b14bb24.tar.gz
pugl-db0a48e79b400c15afbc8f5d3fbb5a0a8b14bb24.tar.bz2
pugl-db0a48e79b400c15afbc8f5d3fbb5a0a8b14bb24.zip
Windows: Use default cursor on window decoration
Update AUTHORS
Diffstat (limited to 'pugl')
-rw-r--r--pugl/detail/win.c2
1 files changed, 2 insertions, 0 deletions
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: