From 0d27c78b02a8c98a3e507baf59308bd79f73f0f2 Mon Sep 17 00:00:00 2001 From: Nishi Date: Sat, 26 Sep 2026 17:43:41 +0900 Subject: [PATCH] fix --- src/widget/subwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widget/subwindow.c b/src/widget/subwindow.c index e1d88714..f20f7c92 100644 --- a/src/widget/subwindow.c +++ b/src/widget/subwindow.c @@ -373,11 +373,13 @@ static int is_bottom_right(MwWidget handle, MwPoint* p) { static void mouse_move(MwWidget handle) { MwSubWindow sw = handle->internal; + if(handle->pressed) return; + if(is_bottom_right(handle, &handle->mouse_point)) { if(sw->mouse_cache == 0) MwLLSetCursor(handle->lowlevel, &MwCursorBottomRight, &MwCursorBottomRightMask); sw->mouse_cache = 1; - } else if(!handle->pressed && sw->mouse_cache != 0) { + } else if(sw->mouse_cache != 0) { sw->mouse_cache = 0; MwLLSetCursor(handle->lowlevel, &MwCursorDefault, &MwCursorDefaultMask);