http://bugs.winehq.org/show_bug.cgi?id=16136
--- Comment #13 from Eric Sandall sandalle@sourcemage.org 2010-03-20 01:05:34 --- (In reply to comment #12)
As of 1.1.30, even with the "patch", it now loses keyboard focus. Mouse focus still works. I don't know if this is related or a new bug.
When using Dungeons & Dragons Online: Eberron Unlimited (http://appdb.winehq.org/objectManager.php?sClass=application&iId=2910 ) or Lord of the Rings Online: Shadows of Angmar (http://appdb.winehq.org/objectManager.php?sClass=application&iId=4891), the keyboard definitely loses focus and the mouse somewhat does.
In the game, the mouse has the game cursor rather than the Window Manager (KDE 4.4 here) cursor and can mouse over items in the game and highlight the item, but trying to interact with the game in any way (e.g. selecting an object by clicking) does not work.
System 1: WINE 1.1.41 KDE 4.4.1 X.org 1.7.6 nVidia's 190.53 and 195.36.15 stable drivers CFLAGS=-march=core2 -m32 -pipe -DPIC -fPIC -O2 LDFLAGS=-z combreloc -s -Wl,-O1 -Wl,--hash-style=gnu
System 2: WINE 1.1.41 KDE 4.3.5 X.org 1.7.6 nVidia's 190.53 and 195.36.15 stable drivers CFLAGS=-march=athlon-xp -mmmx -mfpmath=sse -msse -m3dnow -pipe -DPIC -fPIC -O2 LDFLAGS=-z combreloc -s -Wl,-O1 -Wl,--hash-style=gnu
I have not tried with any patches, just a straight wine-1.1.41.tar.bz2 source compile. Works fine if I use fluxbox 1.0.0 on either System 1 or System 2, so must be an interaction with KDE's (and E17's or GNOME's) focus.
I normally use "Focus Follows Mouse" in KDE, but I also tried "Focus Follows Under Mouse" and "Click to Focus" to no avail. I have not tried fiddling with the "Focus Stealing Prevention" options.