From 702c136c537ac7dbc04f0762540a82a2c55c3f16 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Mon, 3 Jun 2024 06:05:13 +0200 Subject: [PATCH] tweak debug logs --- src/utils.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/utils.c b/src/utils.c index 09238fe..de9fc99 100644 --- a/src/utils.c +++ b/src/utils.c @@ -592,22 +592,15 @@ BOOL CALLBACK util_enum_child_proc(HWND hwnd, LPARAM lparam) if (real_GetClientRect(hwnd, &size) && real_GetWindowRect(hwnd, &pos) && size.right > 1 && size.bottom > 1) { - /* - TRACE( - " util_enum_child_proc width=%u, Height=%u, left=%d, top=%d\n", - size.right, - size.bottom, - pos.left, - pos.top); - */ - char class_name[MAX_PATH] = { 0 }; GetClassNameA(hwnd, class_name, sizeof(class_name) - 1); - //LONG style = real_GetWindowLongA(hwnd, GWL_STYLE); LONG exstyle = real_GetWindowLongA(hwnd, GWL_EXSTYLE); - //TRACE(" AVIWINDOW class=%s, style=%p, exstyle=%p\n", class_name, style, exstyle); + //TRACE("util_enum_child_proc class=%s, hwnd=%p, width=%u, height=%u, left=%d, top=%d\n", + // class_name, hwnd, size.right, size.bottom, pos.left, pos.top); + + //dbg_dump_wnd_styles(real_GetWindowLongA(hwnd, GWL_STYLE), exstyle); if (g_config.fixchilds == FIX_CHILDS_DETECT_HIDE || strcmp(class_name, "VideoRenderer") == 0 ||