I made a quick hack that will force the game to grab the pointer and lock it to the window. To try it out, save this C code to a file (e.g. grab_pointer.c):
Or if you don't want to have to run that at the command line each time, you can edit the game's start.sh and add this line at the top (but after #!/bin/bash):
Cage Cursor not working on Linux
in Pillars of Eternity: Technical Support (Spoiler Warning!)
Posted
I made a quick hack that will force the game to grab the pointer and lock it to the window. To try it out, save this C code to a file (e.g. grab_pointer.c):
Compile the file like this:
This will create the shared object file grab_pointer.so.
Now you just need to "preload" this code when you run the game. At the command line, try this (changing the paths to the approriate locations):
Or if you don't want to have to run that at the command line each time, you can edit the game's start.sh and add this line at the top (but after #!/bin/bash):
Hope that works for you until Obsidian fixes the issue.