[webkit-changes] [WebKit/WebKit] f69bdc: [GTK] Don't notify cursor when cursorRect is defau...
taoky
noreply at github.com
Thu May 2 08:04:33 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f69bdc37c4623ebe9e47c6c1179d21820dbcebb3
https://github.com/WebKit/WebKit/commit/f69bdc37c4623ebe9e47c6c1179d21820dbcebb3
Author: taoky <me at taoky.moe>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M Source/WebKit/UIProcess/API/glib/InputMethodFilter.cpp
Log Message:
-----------
[GTK] Don't notify cursor when cursorRect is default-initialized
https://bugs.webkit.org/show_bug.cgi?id=218148
Reviewed by Michael Catanzaro.
For input methods in preedit mode, editor state update functions could
get an IntRect that is default-initialized (with x, y, width and height
all 0), which makes the input method popup at the top left corner
instead of its expected position.
* Source/WebKit/UIProcess/API/glib/InputMethodFilter.cpp:
(WebKit::InputMethodFilter::notifyCursorRect): Modified to check if
cursorRect is default-initialized.
Canonical link: https://commits.webkit.org/278261@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list