mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 01:20:05 +01:00
Restore some unused win32 debug code accidentally removed with unifdef
unifdef found some code covered by which it decided to remove. This patch simply restores that in case someone wants it back. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
e3d2a7a613
commit
ee3412b870
2 changed files with 13 additions and 0 deletions
|
|
@ -894,6 +894,9 @@ winMWExtWMUpdateRegion (RootlessFrameID wid, RegionPtr pDamage)
|
|||
SIZE szWin;
|
||||
POINT ptSrc;
|
||||
#endif
|
||||
#if CYGMULTIWINDOW_DEBUG && 0
|
||||
winDebug ("winMWExtWMUpdateRegion (%08x)\n", pRLWinPriv);
|
||||
#endif
|
||||
#if 0
|
||||
szWin.cx = pRLWinPriv->dwWidth;
|
||||
szWin.cy = pRLWinPriv->dwHeight;
|
||||
|
|
@ -935,6 +938,10 @@ winMWExtWMDamageRects (RootlessFrameID wid, int nCount, const BoxRec *pRects,
|
|||
{
|
||||
win32RootlessWindowPtr pRLWinPriv = (win32RootlessWindowPtr) wid;
|
||||
const BoxRec *pEnd;
|
||||
#if CYGMULTIWINDOW_DEBUG && 0
|
||||
winDebug ("winMWExtWMDamageRects (%08x, %d, %08x, %d, %d)\n",
|
||||
pRLWinPriv, nCount, pRects, shift_x, shift_y);
|
||||
#endif
|
||||
|
||||
for (pEnd = pRects + nCount; pRects < pEnd; pRects++) {
|
||||
RECT rcDmg;
|
||||
|
|
|
|||
|
|
@ -519,6 +519,9 @@ winMWExtWMWindowProc (HWND hwnd, UINT message,
|
|||
break;
|
||||
|
||||
case WM_MOUSEMOVE:
|
||||
#if CYGMULTIWINDOW_DEBUG && 0
|
||||
winDebug ("winMWExtWMWindowProc - WM_MOUSEMOVE\n");
|
||||
#endif
|
||||
/* Unpack the client area mouse coordinates */
|
||||
ptMouse.x = GET_X_LPARAM(lParam);
|
||||
ptMouse.y = GET_Y_LPARAM(lParam);
|
||||
|
|
@ -573,6 +576,9 @@ winMWExtWMWindowProc (HWND hwnd, UINT message,
|
|||
return 0;
|
||||
|
||||
case WM_NCMOUSEMOVE:
|
||||
#if CYGMULTIWINDOW_DEBUG && 0
|
||||
winDebug ("winMWExtWMWindowProc - WM_NCMOUSEMOVE\n");
|
||||
#endif
|
||||
/*
|
||||
* We break instead of returning 0 since we need to call
|
||||
* DefWindowProc to get the mouse cursor changes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue