i need to lock cursor to prime screen

squid@feddit.uk to Linux Gaming@lemmy.ml – 6 points –

im trying to play cyberpunk through heroic game launcher, ive changed settings in game but when ever i move my cursor it leaves my primary screen to my secondary. is there a variable, command to resolve this? alos of note, i am running through proton experimental, my system is arch, wayland, swaywm (sway) also i dont want to use third party application.

cheers in advance

i i have managed to fix the issue, not sure why it fixed it but in cyberpunk settings setting display to display 2 rather than one has locked cursor whilst still keeping the game in display 1

1

Is the game full screen exclusive or window border less?