

I always use a second X session with a light wm to play any games. In this way I don't have focus problems or the tipical resolution problems when using fullscreen games.n19i wrote:Wine 0.9.4X are really weird... first thing it doesn't works properly with multiple desktops, at least when I'm running Warcraft 3. If I try to change the desktop, it will steal focus and switch back. Also there are some random lockups that are pretty annoying, I'm thinking of going back to 0.9.40 or 0.9.39

Are you using e17 by any chance ? , i wasn't sure if it was e17 that was causing focus to be lost or wine, but may well be wine, they did mention in patch notes that they had resolved something to do with focus but the problem persists, heres hoping it gets sorted, love switching desktops whilst playing.n19i wrote:Wine 0.9.4X are really weird... first thing it doesn't works properly with multiple desktops, at least when I'm running Warcraft 3. If I try to change the desktop, it will steal focus and switch back. Also there are some random lockups that are pretty annoying, I'm thinking of going back to 0.9.40 or 0.9.39
No, I'm using KDE.. Back when I used e17, switching desktops was just wonderful, used to work like a charm. Then I changed to KDE due to it's facilities (yeah I'm lazy [not that much, I'm using Gentoo after all]), and I could still switch desktops, but E17 felt more stable (StinkingMonkey wrote:Are you using e17 by any chance ? , i wasn't sure if it was e17 that was causing focus to be lost or wine, but may well be wine, they did mention in patch notes that they had resolved something to do with focus but the problem persists, heres hoping it gets sorted, love switching desktops whilst playing.n19i wrote:Wine 0.9.4X are really weird... first thing it doesn't works properly with multiple desktops, at least when I'm running Warcraft 3. If I try to change the desktop, it will steal focus and switch back. Also there are some random lockups that are pretty annoying, I'm thinking of going back to 0.9.40 or 0.9.39

Patch is in git now. Bug will be definitelly fixed in 0.9.46kusuriya wrote:Yah I know what your talking about.. 43 was faster for WoW and C&C3 and it actually closed proporly, 44 when program sends wmclose or wmquit (the signals for windows to close the window) wineserver doenst seem to take the clue and it leaves the window up and running till you issue a killall -9 wow or a wineserver -k... its a minor nussiance but still.
I build from GIT to avoid getting stuck on a specific version, this bug was introduces ages ago and the bug still has not been assigned. However you can just apply this patch to any new version to make it act like it used to.n19i wrote:Wine 0.9.4X are really weird... first thing it doesn't works properly with multiple desktops, at least when I'm running Warcraft 3. If I try to change the desktop, it will steal focus and switch back. Also there are some random lockups that are pretty annoying, I'm thinking of going back to 0.9.40 or 0.9.39
Code: Select all
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c
index aad09c6..1f9d2a9 100644 (file)
--- a/dlls/winex11.drv/event.c
+++ b/dlls/winex11.drv/event.c
@@ -570,8 +570,8 @@ static void EVENT_FocusOut( HWND hwnd, XEvent *xev )
case we don't have to change the foreground window to 0 */
if (hwnd == GetForegroundWindow())
{
- TRACE( "lost focus, setting fg to desktop\n" );
- SetForegroundWindow( GetDesktopWindow() );
+ TRACE( "lost focus, setting fg to 0\n" );
+ SetForegroundWindow( 0 );
}
}
}