diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-01-31 10:43:37 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2005-01-31 10:43:37 +0000 |
commit | 8d277ceb22929fcb44f2d4def8c5b70535eb087f (patch) | |
tree | 94105481c5e26aff3d4c8b1d5ac77030b78fb5da /hw/xwin/winmultiwindowwndproc.c | |
parent | 2982d173cad762b801869b7ceacc237afdad88d6 (diff) |
winmessages.h
winmsg.h
winmsg.c
winmultiwindowwndproc.c
winwin32rootlesswndproc.c
Make logging of messages configurable with environment variables
Diffstat (limited to 'hw/xwin/winmultiwindowwndproc.c')
-rwxr-xr-x | hw/xwin/winmultiwindowwndproc.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/hw/xwin/winmultiwindowwndproc.c b/hw/xwin/winmultiwindowwndproc.c index 3ebd0be7d..a977b5b21 100755 --- a/hw/xwin/winmultiwindowwndproc.c +++ b/hw/xwin/winmultiwindowwndproc.c @@ -35,9 +35,7 @@ #include "dixevents.h" #include "winmultiwindowclass.h" #include "winprefs.h" -#if CYGDEBUG -#include "winmessages.h" -#endif +#include "winmsg.h" /* * External global variables @@ -292,16 +290,7 @@ winTopLevelWindowProc (HWND hwnd, UINT message, static Bool s_fTracking = FALSE; #if CYGDEBUG - if (message >= WM_USER) - { - winDebug("winTopLevelWindowProc - Message WM_USER + %d", message - WM_USER); - winDebug(" wParam 0x%x lParam 0x%x\n", wParam, lParam); - } - else if (message < MESSAGE_NAMES_LEN && MESSAGE_NAMES[message]) - { - winDebug("winTopLevelWindowProc - Message %s", MESSAGE_NAMES[message]); - winDebug(" wParam 0x%x lParam 0x%x\n", wParam, lParam); - } + winDebugWin32Message("winTopLevelWindowProc", hwnd, message, wParam, lParam); #endif /* Check if the Windows window property for our X window pointer is valid */ |