[PATCH] x11drv: Allow to disable focus to desktop window after last
wine window looses focus.
Tomas Carnecky
tom at dbservice.com
Sat Jul 28 07:26:29 CDT 2007
This patch introduces a new registry key, "FocusDesktopWindow", that can
be used to specify whether wine should set the foreground window to the
desktop window after the last wine app looses focus. The default is
enabled (the same behavior as now).
---
I consider it a nice feature to allow windows apps to think they still
have focus even if they don't. This is particularly useful for
fullscreen apps that do all sorts of nasty things when they find out
they've lost focus and regain it later. For example World of Warcraft
stops sound if it finds out it lost focus and there's currently a bug in
wine that makes WoW unaware that it regained focus, which effectively
disables sound. With this patch WoW will never know it lost focus and
thus continue sound output even if the user switches to another app. I
can imagine other windows games show similar problems.
dlls/winex11.drv/event.c | 2 +-
dlls/winex11.drv/x11drv.h | 1 +
dlls/winex11.drv/x11drv_main.c | 4 ++++
3 files changed, 6 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b0a2d2c99ac86fb19f696c39d9a9a7797488a246.diff
Type: text/x-patch
Size: 1992 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070728/f29e773a/b0a2d2c99ac86fb19f696c39d9a9a7797488a246.bin
More information about the wine-patches
mailing list