Skip to content

script: Ignore empty composition events in text inputs - #41979

Merged
mrobinson merged 1 commit into
servo:mainfrom
mrobinson:empty-compositing-events
Jan 17, 2026
Merged

mrobinson merged 1 commit into
servo:mainfrom
mrobinson:empty-compositing-events

Conversation

@mrobinson

Copy link
Copy Markdown
Member

Some platforms send empty composition events (winit on Linux, for
example). These should be ignored appropriately as they can cause
unecessary rendering updates even when the content of the text area does
not change.

Testing: This is mainly an optimization, so no tests are added. It does prevent
some misbehavior, but that is a secondary effect fixed by #41978.

Some platforms send empty composition events (winit on Linux, for
example). These should be ignored appropriately as they can cause
unecessary rendering updates even when the content of the text area does
not change.

Signed-off-by: Martin Robinson <[email protected]>
@mrobinson
mrobinson requested a review from gterzian as a code owner January 17, 2026 18:14
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jan 17, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jan 17, 2026
@mrobinson
mrobinson added this pull request to the merge queue Jan 17, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jan 17, 2026
Merged via the queue into servo:main with commit 7f09259 Jan 17, 2026
@mrobinson
mrobinson deleted the empty-compositing-events branch January 17, 2026 23:19
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants