winmsg.c
Introduce function winTrace which prints log message with verbosity 10 Use winTrace for 3 heavily called functions
This commit is contained in:
parent
8aabc94596
commit
15895b4117
|
@ -1,3 +1,11 @@
|
||||||
|
2005-01-12 Alexander Gottwald <ago at freedesktop dot org>
|
||||||
|
|
||||||
|
* winmsg.c
|
||||||
|
* winmsg.h:
|
||||||
|
Introduce function winTrace which prints log message with verbosity 10
|
||||||
|
* winmultiwindowwindow.c:
|
||||||
|
Use winTrace for 3 heavily called functions
|
||||||
|
|
||||||
2005-01-11 Alexander Gottwald <ago at freedesktop dot org>
|
2005-01-11 Alexander Gottwald <ago at freedesktop dot org>
|
||||||
|
|
||||||
* XWin.man:
|
* XWin.man:
|
||||||
|
|
|
@ -102,6 +102,15 @@ winDebug (const char *format, ...)
|
||||||
va_end (ap);
|
va_end (ap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
winTrace (const char *format, ...)
|
||||||
|
{
|
||||||
|
va_list ap;
|
||||||
|
va_start (ap, format);
|
||||||
|
LogVMessageVerb(X_NONE, 10, format, ap);
|
||||||
|
va_end (ap);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
winW32Error(int verb, const char *msg)
|
winW32Error(int verb, const char *msg)
|
||||||
{
|
{
|
||||||
|
|
|
@ -42,6 +42,7 @@ void winDrvMsg (int scrnIndex, MessageType type, const char *format, ...);
|
||||||
void winMsgVerb (MessageType type, int verb, const char *format, ...);
|
void winMsgVerb (MessageType type, int verb, const char *format, ...);
|
||||||
void winMsg (MessageType type, const char *format, ...);
|
void winMsg (MessageType type, const char *format, ...);
|
||||||
void winDebug (const char *format, ...);
|
void winDebug (const char *format, ...);
|
||||||
|
void winTrace (const char *format, ...);
|
||||||
|
|
||||||
void winErrorFVerb (int verb, const char *format, ...);
|
void winErrorFVerb (int verb, const char *format, ...);
|
||||||
void winW32Error(int verb, const char *message);
|
void winW32Error(int verb, const char *message);
|
||||||
|
|
|
@ -91,7 +91,7 @@ winCreateWindowMultiWindow (WindowPtr pWin)
|
||||||
winWindowPriv(pWin);
|
winWindowPriv(pWin);
|
||||||
|
|
||||||
#if CYGMULTIWINDOW_DEBUG
|
#if CYGMULTIWINDOW_DEBUG
|
||||||
ErrorF ("winCreateWindowMultiWindow - pWin: %p\n", pWin);
|
winTrace ("winCreateWindowMultiWindow - pWin: %p\n", pWin);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Call any wrapped CreateWindow function */
|
/* Call any wrapped CreateWindow function */
|
||||||
|
@ -161,7 +161,7 @@ winPositionWindowMultiWindow (WindowPtr pWin, int x, int y)
|
||||||
DWORD dwStyle;
|
DWORD dwStyle;
|
||||||
|
|
||||||
#if CYGMULTIWINDOW_DEBUG
|
#if CYGMULTIWINDOW_DEBUG
|
||||||
ErrorF ("winPositionWindowMultiWindow - pWin: %p\n", pWin);
|
winTrace ("winPositionWindowMultiWindow - pWin: %p\n", pWin);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Call any wrapped PositionWindow function */
|
/* Call any wrapped PositionWindow function */
|
||||||
|
@ -381,7 +381,7 @@ winRestackWindowMultiWindow (WindowPtr pWin, WindowPtr pOldNextSib)
|
||||||
winWindowPriv(pWin);
|
winWindowPriv(pWin);
|
||||||
|
|
||||||
#if CYGMULTIWINDOW_DEBUG || CYGWINDOWING_DEBUG
|
#if CYGMULTIWINDOW_DEBUG || CYGWINDOWING_DEBUG
|
||||||
ErrorF ("winRestackMultiWindow - %08x\n", pWin);
|
winTrace ("winRestackMultiWindow - %08x\n", pWin);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Call any wrapped RestackWindow function */
|
/* Call any wrapped RestackWindow function */
|
||||||
|
@ -756,7 +756,7 @@ winReorderWindowsMultiWindow (void)
|
||||||
DWORD dwWindowProcessID = 0;
|
DWORD dwWindowProcessID = 0;
|
||||||
|
|
||||||
#if CYGMULTIWINDOW_DEBUG || CYGWINDOWING_DEBUG
|
#if CYGMULTIWINDOW_DEBUG || CYGWINDOWING_DEBUG
|
||||||
ErrorF ("winReorderWindowsMultiWindow\n");
|
winTrace ("winReorderWindowsMultiWindow\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (fRestacking)
|
if (fRestacking)
|
||||||
|
|
Loading…
Reference in New Issue