Glossary:Borderless fullscreen windowed

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

Key points

Information A forced Windowed mode will need to be set first for games which do not natively provide a borderless mode.
Advantage Fast, seamless task switching with no risk of crashes or freezes with no performance costs.
Advantage Eliminates screen tearing.
Disadvantage AMD/ATI cards do not support Crossfire in this mode.
Disadvantage Most games will have problems with edge scrolling on multi-monitor setups. See Mouse locking.


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 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 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. This allows you to switch between your game and your desktop using Ctrl+Alt+F7 and Ctrl+Alt+F8 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.

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 Unity engine can be run in a borderless window by enabling windowed mode and adding the launch argument -popupwindow to the main executable.[1]

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. Unity - Manual: Command line arguments