Skip to content

core: skip empty boxes when computing the bounding box - #3262

Open
srcEcho wants to merge 1 commit into
WayfireWM:masterfrom
srcEcho:fix-empty-subsurface-bbox
Open

srcEcho wants to merge 1 commit into
WayfireWM:masterfrom
srcEcho:fix-empty-subsurface-bbox

Conversation

@srcEcho

@srcEcho srcEcho commented Dec 3, 2026

Copy link
Copy Markdown

Bufferless subsurfaces have a zero-size bounding box, but their position point still extends the parent box in get_children_bounding_box(). This inflates the view bounding box and makes the content shift by about 1 px at fractional scales when the surface moves.

Fixes #3259

Bufferless subsurfaces have a zero-size bounding box, but their position
point still extends the parent box in get_children_bounding_box(). This
inflates the view bounding box and makes the content shift by about 1 px
at fractional scales when the surface moves.

Fixes WayfireWM#3259
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.

Empty (bufferless) subsurfaces extend the view bounding box, causing 1px jitter at fractional scale

1 participant