Simon Ser
d6f8820a8b
Upgrade for wlroots surface refactoring
...
See [1] for details.
[1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3412
3 years ago
Simon Ser
e2b4c573d6
Destroy sub-surfaces with parent layer-shell surface
...
Closes: https://github.com/swaywm/sway/issues/6337
3 years ago
Kirill Primak
5fd5d6434e
layer-shell: fix commit handler
...
This commit makes sure the extents are kept up-to-date, fixes not
damaging the surface if its layer shell-specific state didn't change,
and adds a check if the layer shell-specific state didn't change but the
surface got mapped/unmapped, which could affect keyboard focus.
3 years ago
Ronan Pigott
f67ed6772c
layer_shell: damage previous area when a surface shrinks
...
When a layer surface shrinks we need to damage the area it previously
occupied, but we don't know the location of all its subsurfaces in the
previous state, so instead damage a rectangle that encloses the entire
previous extent.
3 years ago
Simon Ser
4832fc937f
Update wlr_box includes
...
Update for the breaking change in [1].
[1]: https://github.com/swaywm/wlroots/pull/3011
3 years ago
Vlad Pănăzan
71725a8eae
Add layer shell subsurfaces
...
Damage subsurfaces created by layer surfaces on map, unmap and
commit. This fixes the flicker of Gtk Popovers.
Fixes #5617
4 years ago
Simon Ser
ad07886543
Handle layer changes for layer shell surfaces
...
Closes: https://github.com/swaywm/sway/issues/4644
References: 1982106c9b
5 years ago
Aleksis
982e01f46c
remove unused layer shell surface variable
5 years ago
Drew DeVault
cb8f68d74b
layer-shell: add support for popups
5 years ago
emersion
7699c5444c
Update for swaywm/wlroots#1243
6 years ago
Dominique Martinet
9ea4cc13a0
sway views: add helpers to get view and layer from wlr_surface
6 years ago
Drew DeVault
a76829f375
Some layer shell fixes
...
Based on the corresponding rootston changes
7 years ago
Drew DeVault
68cfa7ef67
Render layer surfaces and respect exclusive zone
7 years ago
Drew DeVault
0c8a64942e
Add initial layer shell skeleton
7 years ago