libs/wine winex11.drv: Toggle debug traces with the key F12.revert-to-1.1.24/debug_trace_toggle
commit969ae1f7992a5daac13c617b652793908f33d248
authorJan Zerebecki <jan.wine@zerebecki.de>
Sat, 25 Jul 2009 13:39:52 +0000 (25 15:39 +0200)
committerJan Zerebecki <jan.wine@zerebecki.de>
Sat, 25 Jul 2009 13:39:52 +0000 (25 15:39 +0200)
treef3b644d35e6b0e31246eb44efb3ca7104a3e796d
parent80df6f3474b56b1cb8d174785bd750749f6bc0eb
libs/wine winex11.drv: Toggle debug traces with the key F12.

To disable debug traces on startup set the environment variable
WINEDELAY=enable , to only enable the hotkey (with traces enabled
on startup) set the variable to anything (e.g. empty).

If keypresses are not picked up you might need to set wine to
unmanaged or use the virtual desktop mode.

Based on a patch from
http://wiki.winehq.org/Debug_trace_toggle_key by Mike Hearn, with
additions from http://kegel.com/wine/debug-delay-3.patch by Dan
Kegel.
dlls/winex11.drv/keyboard.c
include/wine/debug.h
libs/wine/debug.c
libs/wine/wine.def
libs/wine/wine.map