2011/1/30 Daniel :
> run winecfg and check 'Allow DirectX apps to stop the mouse leaving
> their window' under Graphics tab.
Surprisingly that doesn't work. Not sure why, probably an artifact of the game.
I'm going to try Rob's patch and/or the warp patch. Thank you.
--
Samuel Baldwin - logik.li
Thanks! Maybe this can be useful in conjunction with the warp patch.
Cheers,
Moritz
On 01/30/2011 07:09 AM, Samuel Baldwin wrote:
> (...)? I'm running a
> game in wine and the mouse leaves the window once I get to the edge.
run winecfg and check 'Allow DirectX apps to stop the mouse leaving
their window' under Graphics tab.
--
() ascii ribbon campaign - against html e-mail
/\
> I've attached code for dwm anyway.
And a fix.
--- pointer-lock.c 2011-01-30 13:01:37.39681 +
+++ pointer-lock2.c 2011-01-30 13:09:44.83434 +
@@ -2,6 +2,8 @@
pointerlock(const Arg *a)
{
if(a->i){
+ if(!selmon->sel)
+ return;
if(XGrabPointer(dpy, selmon->sel->win, False,
> Is there a way to manually lock mouse focus on a window? I'm running a
> game in wine and the mouse leaves the window once I get to the edge.
> Since the game is an FPS this isn't really acceptable. Even if I
> fullscreen the app the mouse just stops when it gets to the window,
> which doesn't re
Is there a way to manually lock mouse focus on a window? I'm running a
game in wine and the mouse leaves the window once I get to the edge.
Since the game is an FPS this isn't really acceptable. Even if I
fullscreen the app the mouse just stops when it gets to the window,
which doesn't really work