xwin: Fix format warnings when ./configured --enable-debug --enable-windowswm
Fix format warnings (mainly pointer format fixes) which show up when ./configured --enable-debug --enable-windowswm Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
b4ac7b142f
commit
9dc32746f2
|
@ -541,7 +541,7 @@ winMWExtWMRestackFrame(RootlessFrameID wid, RootlessFrameID nextWid)
|
||||||
|
|
||||||
if (pRLNextWinPriv == NULL) {
|
if (pRLNextWinPriv == NULL) {
|
||||||
#if CYGMULTIWINDOW_DEBUG
|
#if CYGMULTIWINDOW_DEBUG
|
||||||
winDebug("Win %08x is top\n", pRLWinPriv);
|
winDebug("Win %p is top\n", pRLWinPriv);
|
||||||
#endif
|
#endif
|
||||||
pScreenPriv->widTop = wid;
|
pScreenPriv->widTop = wid;
|
||||||
SetWindowPos(pRLWinPriv->hWnd, HWND_TOP,
|
SetWindowPos(pRLWinPriv->hWnd, HWND_TOP,
|
||||||
|
@ -550,7 +550,7 @@ winMWExtWMRestackFrame(RootlessFrameID wid, RootlessFrameID nextWid)
|
||||||
else if (winIsInternalWMRunning(pScreenInfo)) {
|
else if (winIsInternalWMRunning(pScreenInfo)) {
|
||||||
/* using mulwinidow wm */
|
/* using mulwinidow wm */
|
||||||
#if CYGMULTIWINDOW_DEBUG
|
#if CYGMULTIWINDOW_DEBUG
|
||||||
winDebug("Win %08x is not top\n", pRLWinPriv);
|
winDebug("Win %p is not top\n", pRLWinPriv);
|
||||||
#endif
|
#endif
|
||||||
for (hWnd = GetNextWindow(pRLWinPriv->hWnd, GW_HWNDPREV);
|
for (hWnd = GetNextWindow(pRLWinPriv->hWnd, GW_HWNDPREV);
|
||||||
fNeedRestack && hWnd != NULL;
|
fNeedRestack && hWnd != NULL;
|
||||||
|
@ -563,7 +563,7 @@ winMWExtWMRestackFrame(RootlessFrameID wid, RootlessFrameID nextWid)
|
||||||
/* Enable interleave X window and Windows window */
|
/* Enable interleave X window and Windows window */
|
||||||
if (!fFirst) {
|
if (!fFirst) {
|
||||||
#if CYGMULTIWINDOW_DEBUG
|
#if CYGMULTIWINDOW_DEBUG
|
||||||
winDebug("raise: Insert after Win %08x\n",
|
winDebug("raise: Insert after Win %p\n",
|
||||||
pRLNextWinPriv);
|
pRLNextWinPriv);
|
||||||
#endif
|
#endif
|
||||||
SetWindowPos(pRLWinPriv->hWnd, pRLNextWinPriv->hWnd,
|
SetWindowPos(pRLWinPriv->hWnd, pRLNextWinPriv->hWnd,
|
||||||
|
@ -592,7 +592,7 @@ winMWExtWMRestackFrame(RootlessFrameID wid, RootlessFrameID nextWid)
|
||||||
&& GetProp(hWnd, WIN_WINDOW_PROP)) {
|
&& GetProp(hWnd, WIN_WINDOW_PROP)) {
|
||||||
if (hWnd == pRLNextWinPriv->hWnd) {
|
if (hWnd == pRLNextWinPriv->hWnd) {
|
||||||
#if CYGMULTIWINDOW_DEBUG
|
#if CYGMULTIWINDOW_DEBUG
|
||||||
winDebug("lower: Insert after Win %08x\n", pRLNextWinPriv);
|
winDebug("lower: Insert after Win %p\n", pRLNextWinPriv);
|
||||||
#endif
|
#endif
|
||||||
SetWindowPos(pRLWinPriv->hWnd, pRLNextWinPriv->hWnd,
|
SetWindowPos(pRLWinPriv->hWnd, pRLNextWinPriv->hWnd,
|
||||||
0, 0, 0, 0,
|
0, 0, 0, 0,
|
||||||
|
|
|
@ -402,7 +402,7 @@ winMWExtWMRestackWindows(ScreenPtr pScreen)
|
||||||
|
|
||||||
#if CYGMULTIWINDOW_DEBUG
|
#if CYGMULTIWINDOW_DEBUG
|
||||||
winDebug
|
winDebug
|
||||||
("winMWExtWMRestackWindows - DeferWindowPos (%08x, %08x)\n",
|
("winMWExtWMRestackWindows - DeferWindowPos (%p, %p)\n",
|
||||||
pRLWin->hWnd, pRLWinPrev ? pRLWinPrev->hWnd : HWND_TOP);
|
pRLWin->hWnd, pRLWinPrev ? pRLWinPrev->hWnd : HWND_TOP);
|
||||||
#endif
|
#endif
|
||||||
hWinPosInfo = DeferWindowPos(hWinPosInfo, pRLWin->hWnd,
|
hWinPosInfo = DeferWindowPos(hWinPosInfo, pRLWin->hWnd,
|
||||||
|
|
|
@ -417,12 +417,12 @@ winMWExtWMWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
winDebugWin32Message("winMWExtWMWindowProc", hwnd, message, wParam,
|
winDebugWin32Message("winMWExtWMWindowProc", hwnd, message, wParam,
|
||||||
lParam);
|
lParam);
|
||||||
|
|
||||||
winDebug("\thWnd %08X\n", hwnd);
|
winDebug("\thWnd %p\n", hwnd);
|
||||||
winDebug("\tpScreenPriv %08X\n", pScreenPriv);
|
winDebug("\tpScreenPriv %p\n", pScreenPriv);
|
||||||
winDebug("\tpScreenInfo %08X\n", pScreenInfo);
|
winDebug("\tpScreenInfo %p\n", pScreenInfo);
|
||||||
winDebug("\thwndScreen %08X\n", hwndScreen);
|
winDebug("\thwndScreen %p\n", hwndScreen);
|
||||||
winDebug("winMWExtWMWindowProc (%08x) %08x %08x %08x\n",
|
winDebug("winMWExtWMWindowProc (%p) %08x %08x %08x\n",
|
||||||
pRLWinPriv, message, wParam, lParam);
|
pRLWinPriv, message, (int)wParam, (int)lParam);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
/* Branch on message type */
|
/* Branch on message type */
|
||||||
|
|
|
@ -312,7 +312,7 @@ ProcWindowsWMFrameGetRect(ClientPtr client)
|
||||||
REQUEST(xWindowsWMFrameGetRectReq);
|
REQUEST(xWindowsWMFrameGetRectReq);
|
||||||
|
|
||||||
#if CYGMULTIWINDOW_DEBUG
|
#if CYGMULTIWINDOW_DEBUG
|
||||||
ErrorF("ProcWindowsWMFrameGetRect %d %d\n",
|
ErrorF("ProcWindowsWMFrameGetRect %zu %d\n",
|
||||||
(sizeof(xWindowsWMFrameGetRectReq) >> 2), (int) client->req_len);
|
(sizeof(xWindowsWMFrameGetRectReq) >> 2), (int) client->req_len);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue