No description
Find a file
Ian Douglas Scott c1bf410466 toplevel-info: Fix race between binding wl_ouput and output_enter
This fixes an issue with `cosmic-panel` where, when a workspace is moved
back to an output after a monitor is disconnected and reconnected, the
panel doesn't hide because `cosmic-panel` thinks no toplevel is open on
that monitor.

After some testing, it seems `output_enter` isn't being sent here. In
particular, the `output_leave` call happens before the client binds the
`wl_output`, so there is no `wl_output` to send in an event yet.

This is addressed by keeping track of a set of `wl_output`s that we have
sent the event to. So if an output is bound, `refresh` can add it to
this list and send the event.

This is not needed for workspaces (though it could be done similarly)
since the handle objects are created by server events. So no race should
occur as long as the workspaces global is bound before the toplevel info
one.
2024-08-01 16:35:26 +02:00
.github/workflows ci: Disable failing nix build job for now 2024-07-29 14:49:44 +02:00
cosmic-comp-config chore(config): enable tap-to-click and disable-while-typing by default for touchpads 2024-07-31 09:53:42 +02:00
data feat: runtime configurable keybindings 2024-07-01 15:20:23 +02:00
debian feat: runtime configurable keybindings 2024-07-01 15:20:23 +02:00
resources Update Turkish translation 2024-07-31 14:43:02 +02:00
src toplevel-info: Fix race between binding wl_ouput and output_enter 2024-08-01 16:35:26 +02:00
.gitignore Rework source filtering. 2023-01-04 01:52:16 -08:00
build.rs deps: Update to wayland-rs.0.30 2022-07-04 16:01:06 +02:00
Cargo.lock chore: libcosmic update 2024-07-26 13:22:56 +02:00
Cargo.toml chore: Update smithay 2024-07-25 23:05:15 +02:00
flake.lock nix: setup dev shell 2023-11-12 17:30:41 +04:00
flake.nix nix: setup dev shell 2023-11-12 17:30:41 +04:00
i18n.toml i18n support 2023-07-06 00:04:34 +02:00
LICENSE Initial commit 2021-12-15 17:25:15 +01:00
Makefile support CARGO_TARGET_DIR 2024-07-15 12:27:46 +02:00
rust-toolchain.toml chore: Update toolchain 2024-07-26 14:58:24 +02:00
rustfmt.toml Fix refresh_focus 2023-04-01 20:35:58 +04:00