Bound zxdg_decoration_manager_v1 for compositors that support server-side decorations. Fixed a resize deadlock. Fixed scroll box list rendering.
This commit is contained in:
@@ -577,7 +577,13 @@ fn layout_element(
|
||||
text_system,
|
||||
perf_stats,
|
||||
layout_cache,
|
||||
clip_rect,
|
||||
// Do NOT propagate clip_rect into children: the scroll-box PushClip already clips
|
||||
// them visually, and propagating the clip causes the layout cache to bake in
|
||||
// culling results for a specific scroll position. When the scroll changes, the
|
||||
// same cache entry would replay with stale "empty" children that were culled at
|
||||
// the previous offset. Culling applies only at the direct-child level of the
|
||||
// scroll box (which passes Some(viewport_rect) to layout_container_children).
|
||||
None,
|
||||
);
|
||||
|
||||
if pushed_clip {
|
||||
|
||||
Reference in New Issue
Block a user