diff options
Diffstat (limited to 'content/posts/how-to-set-primary-x-display-on-sway')
-rw-r--r-- | content/posts/how-to-set-primary-x-display-on-sway/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/posts/how-to-set-primary-x-display-on-sway/index.md b/content/posts/how-to-set-primary-x-display-on-sway/index.md index 066098e..48184d8 100644 --- a/content/posts/how-to-set-primary-x-display-on-sway/index.md +++ b/content/posts/how-to-set-primary-x-display-on-sway/index.md @@ -13,7 +13,7 @@ I noticed some games would try to run at the resolution and refresh rate of my l There is no way to set a "primary display" in Sway, because that construct doesn't exist in Wayland. Applications simply open on the display you have focused. -However, many application (particularly games) will try to query for the primary display. +However, many applications (particularly games) will try to query for the primary display. XWayland will (in my experience) default to setting the primary display to the one which is the closest to the "origin" (top left pixel). This can be remedied by running `xrandr --listmonitors` to find what X thinks the names of your displays are, and then using `xrandr --output XWAYLANDN --primary` where N is the number of the correct display, to set the primary display. |