Compare commits

..

4 Commits

Author SHA1 Message Date
96b54bde86 Merge branch 'main' of git.zander.im:Zander671/river 2025-12-30 16:08:45 -08:00
f6fd7655e2 Merge branch 'main' of https://codeberg.org/river/river-classic 2025-12-30 16:07:48 -08:00
df131f9a9d LayerSurface: don't configure in response to unmap
We should wait until the next "initial commit" before
sending a configure after a layer surface unmaps itself.
2025-12-20 18:40:30 +00:00
d38d4105c4 docs: update wiki link 2025-12-18 23:37:34 +00:00
2 changed files with 6 additions and 2 deletions

View File

@ -8,7 +8,7 @@ that are happy with how river 0.3 works and do not wish to deal with the majorly
breaking changes planned for the river 0.4.0 release.
Join us at [#river](https://web.libera.chat/?channels=#river) on irc.libera.chat —
Read our man pages, [wiki](https://codeberg.org/river/wiki), and
Read our man pages, [wiki](https://codeberg.org/river/wiki-classic), and
[Code of Conduct](CODE_OF_CONDUCT.md)
The main repository is on [codeberg](https://codeberg.org/river/river-classic),

View File

@ -366,7 +366,11 @@ fn sendLayerConfigures(
if (@as(?*SceneNodeData, @ptrCast(@alignCast(node.data)))) |node_data| {
const layer_surface = node_data.data.layer_surface;
if (!layer_surface.wlr_layer_surface.initialized) continue;
if (!layer_surface.wlr_layer_surface.surface.mapped and
!layer_surface.wlr_layer_surface.initial_commit)
{
continue;
}
const exclusive = layer_surface.wlr_layer_surface.current.exclusive_zone > 0;
if (exclusive != (mode == .exclusive)) {