These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

Linux

 
  • Topic is locked indefinitely.
 

Mouse capture

Author
K'ribo
The Scope
Gallente Federation
#1 - 2013-07-18 18:41:13 UTC  |  Edited by: K'ribo
Hi!

I'm having a problem with EVE under wine trapping the cursor in window which is kind of annoying because even if i move the window, the cursor is still trapped in the same area (even if i move the window to my second monitor, the mouse is still trapped in the same area on the first monitor).

There are topics left from 2007 about the same problem being solved by changing a variable called "DxGrab", but i don't know how to reach this variable in the current client.

Do you have any ideas?

UPDATE: the registrykey [HKCU/software/wine/X11Driver] "GrabPointer"="N" partially solved the problem: the window can't capture the mouse anymore, but the window doesn't get mouse clicks on the second screen.
After Shok
Ruthenia Co
#2 - 2013-07-18 19:24:05 UTC
Do you have a single screen for two monitor in xorg.conf ? such as :
Quote:
Section "ServerLayout"
Identifier "amdcccle Layout"
Screen 0 "amdcccle-Screen[2]-0" 0 0
EndSection

Section "Monitor"
Identifier "0-DFP17"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1280x1024"
Option "TargetRefresh" "75"
Option "Position" "0 0"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection

Section "Monitor"
Identifier "0-DFP18"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1280x1024"
Option "TargetRefresh" "75"
Option "Position" "1280 0"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection

Section "Device"
Identifier "amdcccle-Device[2]-0"
Driver "fglrx"
Option "Monitor-DFP17" "0-DFP17"
Option "Monitor-DFP18" "0-DFP18"
BusID "PCI:2:0:0"
EndSection

Section "Screen"
Identifier "amdcccle-Screen[2]-0"
Device "amdcccle-Device[2]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Virtual 2560 1024
Depth 24
EndSubSection
EndSection

Правдой нельзя оскорбить, уважаемый адвокат!

Тот самый Мюнхгаузен

Золотая орка

K'ribo
The Scope
Gallente Federation
#3 - 2013-07-18 19:33:41 UTC
After Shok wrote:
Do you have a single screen for two monitor in xorg.conf ? such as :


Yes!

But it's not configured within xorg.conf, i made some scripts to change it dynamically with xrandr (it's a laptop).

Relevant line from xrandr output:

Quote:

$ xrandr
Screen 0: minimum 320 x 200, current 2808 x 900, maximum 8192 x 8192


There are no other screens.