Skip to content

Commit 641313e

Browse files
committedSep 5, 2022
#160 log WndProc
1 parent 4e2d7ae commit 641313e

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed
 

‎src/wndproc.c

+11-10
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@
1616

1717
LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
1818
{
19-
/*
20-
TRACE(
21-
" uMsg = %s (%d), wParam = %08X (%d), lParam = %08X (%d)\n",
22-
dbg_mes_to_str(uMsg),
23-
uMsg,
24-
wParam,
25-
wParam,
26-
lParam,
27-
lParam);
28-
*/
19+
if (uMsg != WM_MOUSEMOVE && uMsg != WM_NCMOUSEMOVE && uMsg != WM_NCHITTEST && uMsg != WM_SETCURSOR)
20+
{
21+
TRACE_EXT(
22+
" uMsg = %s (%d), wParam = %08X (%d), lParam = %08X (%d)\n",
23+
dbg_mes_to_str(uMsg),
24+
uMsg,
25+
wParam,
26+
wParam,
27+
lParam,
28+
lParam);
29+
}
2930

3031
static BOOL in_size_move = FALSE;
3132
static int redraw_count = 0;

0 commit comments

Comments
 (0)