From efb463d62d99644e42e419e0fed85c978d0a1f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Mon, 19 Jan 2026 01:42:41 -0500 Subject: [PATCH] refactor: remove borders from window --- libs_win32/app.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs_win32/app.h b/libs_win32/app.h index 9140bce..d293f8e 100644 --- a/libs_win32/app.h +++ b/libs_win32/app.h @@ -1578,7 +1578,7 @@ int app_run( int (*app_proc)( app_t*, void* ), void* user_data, void* memctx, vo wc.hInstance = app->hinstance; wc.hIcon = app->icon; wc.hCursor = app->current_pointer; wc.hbrBackground = (HBRUSH) GetStockObject( BLACK_BRUSH ); wc.hIconSm = app->icon; RegisterClassEx( &wc ); - app->hwnd = CreateWindowEx( APP_WINDOWED_WS_EX_STYLE, wc.lpszClassName, 0, APP_WINDOWED_WS_STYLE, app->windowed_x, app->windowed_y, + app->hwnd = CreateWindowEx( 0, wc.lpszClassName, 0, WS_POPUP, app->windowed_x, app->windowed_y, winrect.right - winrect.left, winrect.bottom - winrect.top, (HWND) 0, (HMENU) 0, app->hinstance, 0 ); if( !app->hwnd ) { app_log( app, APP_LOG_LEVEL_ERROR, "Failed to create window." ); goto init_failed; } app->hdc = GetDC( app->hwnd );