Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information