Closed LinAGKar closed 11 years ago
I cannot reproduce this, can you still cause it to happen?
Yes, just look straight down and try to shoot.
Can’t reproduce either, I can crowbar my toes and stand on the edge of walls and shoot down at troops. Could your window manager/desktop have its bottom panel absorbing the click or something?
That might be it, I moved the panel to the top and suddenly I can shoot straight down but not straight up. I'm using KDE plasma.
Closing this out, looks like a window manager issue. The fixes/changes for alt-tab to work on linux may also help here, #906
Shouldn't the game keep the pointer to the center? cl_mousegrab 0 seems to fix this but then doing anything with the mouse cansels anython else I'm doing with the mouse e.g. if if I am moving the camera and I start holding LMB the camera will stop moving. I am already able to alt-tab just fine.
The game uses an X windows call to cause the mouse to be stuck in the window (when cl_mousegrab is 1), so in theory it should just work and never be overridden. It sounds like your window manager is misbehaving and not respecting this grab. When cl_mousegrab is set to 0 we don't set the grab, instead we just manually slam the mouse position each frame, working around your WM bug. The not being able to move and click with mousegrab 0 sounds like a legit issue, open a new (separate bug) to report it please.
This seems to be specific to these GoldSrc games though, I haven't tried any Source games but other non-Steam FPSes seems to work fine. Also this problem only seems to occur when the panel is set to "auto hide" or "windows can cover" but not when it's set to "always visible" or "windows go below".
When I look straight down or almost straight down in Half-life I can't fire weapons (neither primary nor secondary fire, including the crowbar).