aboutsummaryrefslogtreecommitdiffstats
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
parent743db99714724c43f92cd8bcc004b5b0cd4217ef (diff)
downloadpugl-db0a48e79b400c15afbc8f5d3fbb5a0a8b14bb24.tar.gz
pugl-db0a48e79b400c15afbc8f5d3fbb5a0a8b14bb24.tar.bz2
pugl-db0a48e79b400c15afbc8f5d3fbb5a0a8b14bb24.zip
Windows: Use default cursor on window decoration
Update AUTHORS
-rw-r--r--AUTHORS1
-rw-r--r--pugl/detail/win.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 18aadaf..99f6dac 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -10,3 +10,4 @@ Jordan Halase <jordan@halase.me>
Oliver Schmidt <oliver@luced.de>
Zoƫ Sparks <zoe@milky.flowers>
Jean Pierre Cimalando <jp-dev@inbox.ru>
+Thomas Brand <tom@trellis.ch>
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: