Glossary:Borderless fullscreen windowed

From PCGamingWiki, the wiki about fixing PC games
Jump to: navigation, search

For a list of games, see games with borderless fullscreen windowed support.

Key points

Information Windowed mode is needed in the first place for games which do not natively provide a borderless mode.
Information Certain games do not lock the mouse to the window, which can be problematic on multi-monitor setups. See Mouse locking.
Advantage Seamless task switching with no risk of crashes or freezes with a very little loss in performance.
Advantage Eliminates screen tearing on Windows, due to the way windows are handled.[1]
Disadvantage AMD/ATI cards only support Crossfire in this mode for games using Mantle.[2]


Borderless Gaming[edit]

Information Open source and simple to use application.
Advantage Dynamic, adapts easily when switching to a different resolution on another monitor.
Advantage Allows games to lock the mouse to the current window.

Fix Instructions

  1. Run the desired game in a Windowed mode, then Alt+Tab to the Desktop and start Borderless Gaming.
  2. Select the game's executable from under the Applications field, then push the large Right Arrow icon located at the center.


Information GeDoSaTo and Borderless Gaming can be used together.
Advantage Allows games to be downsampled at any resolution.
Disadvantage Slightly unintuitive interface.

Fix Instructions

  1. Open GeDoSaTo.ini.
  2. Find the following line, and set it to this value.
forceBorderlessFullscreen true


Information The following scripts require AutoHotkey.
Disadvantage Games utilizing PunkBuster as an anti-cheat measure may mistakenly treat AutoHotkey as a cheat.

Saving and running a script[edit]

Fix Make and run script

  1. In Windows Explorer, File -> New -> AutoHotkey Script
  2. Open the newly created file in a text editing program
  3. Append the code to the end of the file
  4. Save the file and run it.

Scripts compilation[edit]

Borderless scripts[edit]

Fullscreen script[edit]

Information This script will full screen the currently active window onto your primary monitor with F12.

Fix Fullscreen script

WinGet, WindowID, ID, A
WinSet, Style, -0xC40000, ahk_id %WindowID%
WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight

Fullscreen toggle script[edit]

Information This script will toggle between fullscreen and windowed modes when pressing F12 as well as hiding the taskbar on the fullscreen mode.

Fix Fullscreen script

WinGet, TempWindowID, ID, A
If (WindowID != TempWindowID)
If (WindowState != 1)
  WinGetPos, WinPosX, WinPosY, WindowWidth, WindowHeight, ahk_id %WindowID%
  WinSet, Style, -0xC40000, ahk_id %WindowID%
  WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
  ;Hide Windows Task Bar and Start Button. (Remove the following two lines if you don't want that behaviour)
  WinHide ahk_class Shell_TrayWnd
  WinHide Start ahk_class Button
  WinSet, Style, +0xC40000, ahk_id %WindowID%
  WinMove, ahk_id %WindowID%, , WinPosX, WinPosY, WindowWidth, WindowHeight
  ;Show the task bar again
  WinShow ahk_class Shell_TrayWnd
  WinShow Start ahk_class Button

Multiple monitors script[edit]

Information Someone needs to check whenever this explanation for the script is correct or if 0, 0, and A_ScreenWidth/Height mean that the script automatically detects the user's resolution.
Information This is a snippet from the Fullscreen toggle script.

Fix Fullscreen script

  • The values 0, 0, represent the coordinates of the upper left corner of the window.
WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
  • For multiple resolutions the values have to be the sum of the monitors total width, for 3840x1080 them being.
WinMove, ahk_id %WindowID%, , 1920, 0, 1920, 1080


Information Use 1920, 0, 1920, 1080 (right) or 0, 1920, 1920, 1080 (left) in order to change which side of the screen is filled.


Information Most Linux windows managers allow fullscreen applications to natively run under a borderless mode by default.

Another tip that exclusively works on Linux is running your game in a separate X server instance. This allows you to switch between your game and your desktop using Ctrl+Alt+F7 and Ctrl+Alt+F8 (buttons may differ, may be F1 through F12) and it increases performance and stability. To do this, edit the launch options for your game on Steam as follows:

Fix Run Game in New X Server

xinit %command% :1


Information Manually launch a Non-Steam game by replacing %command% with the path to the game executable. Some games, including Middle-earth: Shadow of Mordor may run into glitches using this method (as verified by Feral Interactive)

Improved tiling windows manager[edit]

Fix Instructions

  1. Start the game in a windowed mode.
  2. Move it to a new virtual desktop by using Shift+ Win+Number.
  3. Switch to the virtual terminal with Win+Number then go into fullscreen mode by pushing Win+F.



Information Games built on the Source engine can be run in a borderless window by enabling windowed mode and adding the launch argument -windowed -noborder to the main executable.[3]


Information Games built on the Unity engine can be run in a borderless window by enabling windowed mode and adding the launch argument -popupwindow to the main executable.[4]

Windows troubleshooting[edit]

Game crashes on startup[edit]

Information Certain borderless applications have to be started before the game itself and not while the game is running.

Window constantly resizes itself[edit]

Information After applying the borderless mode simply restart the game itself, while keeping the borderless application open.


  1. Double Buffered Graphics | MSDN
  2. Why does CrossFire still not work in windowed mode | Community
  3. Command line options - Valve Developer Community
  4. Unity - Manual: Command line arguments