aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: