diff --git a/src/main.c b/src/main.c index 7dbb4f2..2860591 100644 --- a/src/main.c +++ b/src/main.c @@ -883,9 +883,11 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) switch(uMsg) { + case WM_NCLBUTTONDOWN: + case WM_NCLBUTTONUP: + case WM_NCACTIVATE: case WM_NCPAINT: { - // return DefWindowProc to prevent glitched window frame (dune 2000) return DefWindowProc(hWnd, uMsg, wParam, lParam); } case WM_SETCURSOR: