libs/wine winex11.drv: Toggle debug traces with the key F12.
commit9da03d3cfefa5b4c9a3e629a286c030f4d100d7c
authorJan Zerebecki <jan.wine@zerebecki.de>
Sat, 25 Oct 2008 11:58:35 +0000 (25 13:58 +0200)
committerJan Zerebecki <jan.wine@zerebecki.de>
Sat, 25 Oct 2008 11:58:35 +0000 (25 13:58 +0200)
tree7c933cf7d170ab9095ba9bf2e27523a7983e2e73
parentac963c6217b00c5daf2e5e469c7e9d8b8ca88b59
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