|
78 | 78 | HINSTANCE ApplicationHInstance = NULL; ///< our application instance
|
79 | 79 | HWND ApplicationHWnd = NULL; ///< our application window handle
|
80 | 80 | Bool ApplicationIsWindowed = false;
|
81 |
| - |
82 |
| - // =================== Community Fix Start ================= |
83 |
| - // Borderless Support - PR #327 // |
84 |
| -Bool ApplicationIsBorderless = false; |
85 |
| - // =================== Community Fix End ================= |
86 |
| - |
| 81 | +Bool ApplicationIsBorderless = false; // TheSuperHackers @feature @ShizCalev 04/04/2025 - Borderless Windowed support |
87 | 82 | Win32Mouse *TheWin32Mouse= NULL; ///< for the WndProc() only
|
88 | 83 | DWORD TheMessageTime = 0; ///< For getting the time that a message was posted from Windows.
|
89 | 84 |
|
@@ -702,12 +697,9 @@ static Bool initializeAppWindows( HINSTANCE hInstance, Int nCmdShow, Bool runWin
|
702 | 697 | // Create our main window
|
703 | 698 | windowStyle = WS_POPUP|WS_VISIBLE;
|
704 | 699 | if (runWindowed)
|
705 |
| - // =================== Community Fix Start ================= |
706 |
| - // Borderless Support - PR #327 // |
| 700 | + // TheSuperHackers @feature @ShizCalev 04/04/2025 - Borderless Windowed support |
707 | 701 | if(!ApplicationIsBorderless)
|
708 | 702 | windowStyle |= WS_DLGFRAME | WS_CAPTION | WS_SYSMENU;
|
709 |
| - // =================== Community Fix End ================= |
710 |
| - |
711 | 703 | else
|
712 | 704 | windowStyle |= WS_EX_TOPMOST | WS_SYSMENU;
|
713 | 705 |
|
@@ -937,13 +929,9 @@ Int APIENTRY WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
937 | 929 | //added a preparse step for this flag because it affects window creation style
|
938 | 930 | if (stricmp(token,"-win")==0)
|
939 | 931 | ApplicationIsWindowed=true;
|
940 |
| - |
941 |
| - // =================== Community Fix Start ================= |
942 |
| - // Borderless Support - PR #327 // |
| 932 | + // TheSuperHackers @feature @ShizCalev 04/04/2025 - Borderless Windowed support |
943 | 933 | if(stricmp(token,"-noborder")==0)
|
944 | 934 | ApplicationIsBorderless=true;)
|
945 |
| - // =================== Community Fix End ================= |
946 |
| - |
947 | 935 | token = nextParam(NULL, "\" ");
|
948 | 936 | }
|
949 | 937 |
|
|
0 commit comments