wlroots/types/scene
Johan Malm d2a4a638e4 Revert "scene: ignore outputs with too small intersection with nodes"
This reverts commit 95b2771bfd

...to fix lxqt-panel auto-hiding which is currently broken when the panel size
is greater than 40 (height when panel is in horizontal mode). This is because
lxqt-panel has a `#define PANEL_HIDE_SIZE 4` which means it is ignored by the
compositor because of `if (overlap >= 0.1 * visible_area) { ...` in
`update_node_update_outputs()` in `wlr_scene.c`.

Have tested this patch on the wlroots-0.20 branch with labwc-0.20.0 and confirm
it fixes the auto-hiding issue.

Ref:
- https://github.com/labwc/labwc/issues/3600
- 95b2771bfd
- 78e5e279cc/panel/lxqtpanellimits.h (L34)

Note: `git revert 95b2771` resulted in many conflicts, so this patch includes
significant manual editing.
2026-06-06 09:27:51 +01:00
..
drag_icon.c wlr_scene: Don't disable scene nodes at creation time 2024-07-04 14:35:52 -04:00
layer_shell_v1.c scene/layer_shell_v1: Add support for exclusive_edge 2026-02-24 13:28:46 +00:00
output_layout.c scene: ignore duplicate wlr_scene_output_layout_add_output() calls 2024-02-20 11:04:46 +01:00
subsurface_tree.c scene: constify subsurface_tree_set_clip() 2024-03-20 12:56:28 +01:00
surface.c scene: only send leave events to outputs with matching scene root 2026-05-19 19:52:08 +00:00
wlr_scene.c Revert "scene: ignore outputs with too small intersection with nodes" 2026-06-06 09:27:51 +01:00
xdg_shell.c xdg-surface: fix window geometry handling 2024-08-14 18:52:13 +00:00