|
75 | 75 | HINSTANCE ApplicationHInstance = NULL; ///< our application instance
|
76 | 76 | HWND ApplicationHWnd = NULL; ///< our application window handle
|
77 | 77 | Bool ApplicationIsWindowed = false;
|
78 |
| - |
79 |
| - // =================== Community Fix Start ================= |
80 |
| - // Borderless Support - PR #327 // |
81 |
| -Bool ApplicationIsBorderless = false; |
82 |
| - // =================== Community Fix End ================= |
83 |
| - |
| 78 | +Bool ApplicationIsBorderless = false; // TheSuperHackers @feature @ShizCalev 04/04/2025 - Borderless Windowed support |
84 | 79 | Win32Mouse *TheWin32Mouse= NULL; ///< for the WndProc() only
|
85 | 80 | DWORD TheMessageTime = 0; ///< For getting the time that a message was posted from Windows.
|
86 | 81 |
|
@@ -680,12 +675,9 @@ static Bool initializeAppWindows( HINSTANCE hInstance, Int nCmdShow, Bool runWin
|
680 | 675 | // Create our main window
|
681 | 676 | windowStyle = WS_POPUP|WS_VISIBLE;
|
682 | 677 | if (runWindowed)
|
683 |
| - // =================== Community Fix Start ================= |
684 |
| - // Borderless Support - PR #327 // |
| 678 | + // TheSuperHackers @feature @ShizCalev 04/04/2025 - Borderless Windowed support |
685 | 679 | if(!ApplicationIsBorderless)
|
686 | 680 | windowStyle |= WS_DLGFRAME | WS_CAPTION | WS_SYSMENU;
|
687 |
| - // =================== Community Fix End ================= |
688 |
| - |
689 | 681 | else
|
690 | 682 | windowStyle |= WS_EX_TOPMOST | WS_SYSMENU;
|
691 | 683 |
|
@@ -912,11 +904,9 @@ Int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
912 | 904 | //added a preparse step for this flag because it affects window creation style
|
913 | 905 | if (stricmp(token,"-win")==0)
|
914 | 906 | ApplicationIsWindowed=true;
|
915 |
| - // =================== Community Fix Start ================= |
916 |
| - // Borderless Support - PR #327 // |
| 907 | + // TheSuperHackers @feature @ShizCalev 04/04/2025 - Borderless Windowed support |
917 | 908 | if(stricmp(token,"-noborder")==0)
|
918 | 909 | ApplicationIsBorderless=true;
|
919 |
| - // =================== Community Fix End ================= |
920 | 910 |
|
921 | 911 | token = nextParam(NULL, "\" ");
|
922 | 912 | }
|
|
0 commit comments