libs/wine winex11.drv: Toggle debug traces with the key F12.master/debug_trace_toggle
commit2daf55e8eeca89d5c2bb82381151277b6f9e70aa
authorJan Zerebecki <jan.wine@zerebecki.de>
Sun, 18 Jul 2010 10:26:04 +0000 (18 12:26 +0200)
committerJan Zerebecki <jan.wine@zerebecki.de>
Sun, 18 Jul 2010 10:26:04 +0000 (18 12:26 +0200)
tree9507ebea640d31d4aa8253cd862ce6c8d90e4209
parent946767fae100f84c826157950b868908b6cc2464
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