libs/wine winex11.drv: Toggle debug traces with the key F12.
commit75ecb87fed3c78a9f2295eb32ff3a9d5f63d1200
authorJan Zerebecki <jan.wine@zerebecki.de>
Tue, 13 Jul 2010 22:13:25 +0000 (14 00:13 +0200)
committerJan Zerebecki <jan.wine@zerebecki.de>
Tue, 13 Jul 2010 22:13:25 +0000 (14 00:13 +0200)
tree6d5fd5178317fdd9ef73ed96ba21d1891ea8b9de
parent26622c4e5278ac1b7f02b6d4ef07be509a4fdd99
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