Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loss of Mouse-Focus after switching away to different App. #83

Open
sprintersb opened this issue Dec 5, 2022 · 1 comment
Open

Loss of Mouse-Focus after switching away to different App. #83

sprintersb opened this issue Dec 5, 2022 · 1 comment

Comments

@sprintersb
Copy link

sprintersb commented Dec 5, 2022

When I just started Enigma and am playing in some level, then Enigma "captures" the mouse, i.e. no matter how "far" I am moving my mouse, no mouse pointer will appear outside of Enigma's window. This is fine and required to be able to play the game with a mouse as input device.

However, when I am switching to a different app (e.g. to email-program by means of task-switcher) and then return to Enigma, then moving the mouse will finally move the mouse pointer out of the Enigma window, so that reasonable game play is no more possible.

One fix is to "Abort Level", then select "Level Pack", and then go to the desired level. As it seems, just "Abort Level" without going through "Level Pack" (or "Main Menu") is not always enough to restore mouse capture.

I am observing this with Enigma v1.30, built from a Enigma-1.30-src.tar.gz source distribution. I configured in-tree with no special options except custom --prefix. Host is:

> cat /proc/version
Linux version 5.11.0-27-generic (buildd@lcy01-amd64-019)
(gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34)
#29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021

Desktop Manager is "Xfce 4.16 distributed by Xubuntu".

Enigma Settings:

  • Fullscreen = No
  • Screen Resolution = 640 × 480
@cloudrac3r
Copy link

See issue #56. If you build from this git repo then it'll include this commit you'll have a fixed version, but version 1.30 is from the year 2021 and grabbing the mouse was broken back in that version. Looks like there's no officially released version that includes the fix yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants