From 27fef06b6c1faed8c64cab6eedfbbd13f97f12e0 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Wed, 17 Apr 2024 09:19:00 -0700 Subject: [PATCH] remove unnecessary window class styles --- src/os/gfx/win32/os_gfx_win32.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/os/gfx/win32/os_gfx_win32.c b/src/os/gfx/win32/os_gfx_win32.c index 935d4a2d..d1d381e9 100644 --- a/src/os/gfx/win32/os_gfx_win32.c +++ b/src/os/gfx/win32/os_gfx_win32.c @@ -650,7 +650,6 @@ w32_wnd_proc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) else { result = DefWindowProcW(hwnd, uMsg, wParam, -1); - result = 1; } }break; @@ -847,7 +846,6 @@ os_graphical_init(void) wndclass.lpszClassName = L"graphical-window"; wndclass.hCursor = LoadCursorA(0, IDC_ARROW); wndclass.hIcon = LoadIcon(w32_h_instance, MAKEINTRESOURCE(1)); - wndclass.style = CS_HREDRAW|CS_VREDRAW|CS_OWNDC|CS_DBLCLKS; ATOM wndatom = RegisterClassExW(&wndclass); (void)wndatom; }