[PATCH 0/1] MR8007: comctl32/edit: Remove change notifications on Ctrl+A selections.
It's not notified on Windows, and it makes sense not to because data hasn't changed. Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8007
From: Nikolay Sivov <nsivov(a)codeweavers.com> It's not notified on Windows, and it makes sense not to because data hasn't changed. Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> --- dlls/comctl32/edit.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/comctl32/edit.c b/dlls/comctl32/edit.c index 71577a69d00..91082461862 100644 --- a/dlls/comctl32/edit.c +++ b/dlls/comctl32/edit.c @@ -3406,11 +3406,7 @@ static LRESULT EDIT_WM_KeyDown(EDITSTATE *es, INT key) if (control) { if (EDIT_EM_SetSel(es, 0, get_text_length(es), FALSE)) - { - if (!notify_parent(es, EN_UPDATE)) break; - notify_parent(es, EN_CHANGE); EDIT_EM_ScrollCaret(es); - } } break; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8007
This merge request was approved by Zhiyi Zhang. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8007
participants (3)
-
Nikolay Sivov -
Nikolay Sivov (@nsivov) -
Zhiyi Zhang (@zhiyi)