From 21d5fa2b46156ab1db54fd146168853fb860c8c7 Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Wed, 20 Oct 2021 16:40:22 -0400 Subject: application -> applications --- content/posts/how-to-set-primary-x-display-on-sway/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/posts/how-to-set-primary-x-display-on-sway') 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. -- cgit