From c4440303348d0c75322098fb06e89df4a182b5ab Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Wed, 19 Oct 2022 17:54:43 +0800 Subject: [PATCH] cleanup --- src/gui/window.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gui/window.c b/src/gui/window.c index 85e1676c..1c5f09b1 100644 --- a/src/gui/window.c +++ b/src/gui/window.c @@ -365,11 +365,6 @@ HWND GUIAPI ChildWindowFromPointEx (HWND hParent, POINT pt, UINT uFlags) return pRet; } -/* NOTE: - ** this function is CONTROL mouse messages handler, - ** can automaticly capture mouse depend on HITTEST code. - */ - static PCONTROL __mgs_captured_ctrl = NULL; void __mg_reset_mainwin_capture_info (PCONTROL ctrl) @@ -388,6 +383,11 @@ void __mg_reset_mainwin_capture_info (PCONTROL ctrl) } } +/* NOTE: + ** this function is CONTROL mouse messages handler, + ** can automaticly capture mouse depend on HITTEST code. + */ + static LRESULT DefaultDTMouseMsgHandler (PMAINWIN pWin, UINT message, WPARAM flags, int x, int y) {