More on "no keyboard events in ddraw application"
Hello, I had the same problem as Oleg Prokhorov (no keyboard input in fullscreen games) and following patch fixed it (just a single line in Randr and XVid drivers). I do not know if something gets broken by it; I have tested it with Railroad Tycoon II demo. --- wine-20031212/dlls/x11drv/xvidmode.c.orig 2003-11-26 19:59:36.000000000 -0500 +++ wine-20031212/dlls/x11drv/xvidmode.c 2004-01-06 15:57:58.000000000 -0500 @@ -143,6 +143,7 @@ #else XWarpPointer(gdi_display, None, DefaultRootWindow(gdi_display), 0, 0, 0, 0, 0, 0); #endif + XSetInputFocus(gdi_display, DefaultRootWindow(gdi_display), RevertToPointerRoot, CurrentTime); XSync(gdi_display, False); wine_tsx11_unlock(); } --- wine-20031212/dlls/x11drv/xrandr.c.orig 2004-01-06 16:00:30.000000000 -0500 +++ wine-20031212/dlls/x11drv/xrandr.c 2004-01-06 16:00:10.000000000 -0500 @@ -174,6 +174,8 @@ { ERR("Resolution change not successful -- perhaps display has chaned?"); } + XSetInputFocus(gdi_display, DefaultRootWindow(gdi_display), RevertToPointerRoot, CurrentTime); + XRRFreeScreenConfigInfo(sc); wine_tsx11_unlock(); } Thank you for great work, wine developers! -- ::Robert Glowczynski ::email: robertg(a)aurox.org ::Aurox Core Team http://www.aurox.org ::http://www.distrowatch.com/table.php?distribution=aurox
Hello Robert, Thursday, January 8, 2004, 1:27:23 PM, you wrote: RG> I had the same problem as Oleg Prokhorov (no keyboard input in RG> fullscreen games) and following patch fixed it RG> (just a single line in Randr and XVid drivers). I do not know if RG> something gets broken by it; I have tested it with Railroad Tycoon II RG> demo. It didn't help in my case and makes things even worse, after screen init application doesn't proceed further at all. -- Best regards, Oleg mailto:xolegpro(a)rbcmail.ru
participants (2)
-
Oleg Prokhorov -
Robert Glowczynski