I found this bug related to LOTRO - I'm guessing it should affect DDO as well.
http://bugs.winehq.org/show_bug.cgi?id=16136
[i]Linux: 2.6.26.6-79 (Redhat distro)
X.Org X Server 1.5.0
Window manager: fvwm 2.5.24 (running with virtual screens)
When running Lord of the Rings Onine in full screen mode, if I switch screens
away from the app and then switch back, the app is hung, or at least can't
redraw.
A workaround is to not let the focus go to the desktop is by commenting out the
SetForegroundWindow() call in event.c, X11DRV_FocusOut().
------- Comment #1 From Eric Sandall 2008-11-22 16:58:02 -------
Created an attachment (id=17410) [details]
Fixes focus crashing LoTRO MoM on some machines
This happens with wine 1.1.9 as well. The issue started after the Mines of
Moria (Volume II - Book I - Mines of Moria) patch was applied. Before that
patch, losing focus worked fine.
I tried the patch at
http://appdb.winehq.org/commentview.php?iAppId=4891&iVersionId=14566&iThreadId=42785:
--- event.c~ 2008-11-07 11:09:33.000000000 -0500
+++ event.c 2008-11-20 13:10:15.000000000 -0500
@@ -685,7 +685,7 @@
if (hwnd == GetForegroundWindow())
{
TRACE( "lost focus, setting fg to desktop\n" );
- SetForegroundWindow( GetDesktopWindow() );
- //SetForegroundWindow( GetDesktopWindow() );
}
}
}
As mentioned by the Requestor of this bug, and that patch fixes this issue.
I have attached a patch which removes the entire focus check, however I would
like to point out this bug is not happening on every box. I will do more
testing to try and find the culprit, but this is happening with the WM set to
Enlightenment DR 17 20081121 on one box, but not KDE 3.5.10 on a different box.
I do not believe this is the proper fix, but it does fix the issue for some.[/i]