No description
Find a file
Alyssa Ross 40eb78debf
wayland: map windows with correct geometry
Consider a simple client that doesn't use set_window_geometry,
committing after attaching a buffer to a window surface.

Window::geometry falls back to Window::bbox, but when
Shell::map_window called Window::geometry, Window::bbox hadn't been
set yet, because that only happened later in
<State as CompositorHandler>::commit, so the window would be mapped
with a size of (0, 0).

This resulted in server-side decorations not being drawn for such
clients until they were re-focused or resized.

The fix is to add an extra call to Window::on_commit() before mapping
it, so that its bbox is set correctly when Shell::map_window asks for
its geometry.
2023-09-21 14:39:45 +00:00
.github/workflows nix: fix builds and CI 2023-07-05 02:14:07 +08:00
cosmic-comp-config input: Add a scroll_factor config option 2023-09-01 12:36:12 -07:00
data main: Add (optional) systemd notify 2022-04-28 13:41:37 +02:00
debian chore(deb): ignore vendor/ and target/ in source tar 2023-05-25 22:29:01 +02:00
resources shell/tiling: Implement window swap mode 2023-09-12 20:53:35 +02:00
src wayland: map windows with correct geometry 2023-09-21 14:39:45 +00: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 Update Smithay 2023-09-13 20:24:11 -07:00
Cargo.toml Update Smithay 2023-09-13 20:24:11 -07:00
config.ron shell/tiling: Implement window swap mode 2023-09-12 20:53:35 +02:00
flake.lock nix: fix builds and CI 2023-07-05 02:14:07 +08:00
flake.nix fix: add cosmic-comp-config to nix flake 2023-09-05 19:21:23 -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 chore: use --offline with vendored builds 2023-05-25 22:28:51 +02:00
rust-toolchain.toml chore: Update lock 2023-06-30 15:15:21 +02:00
rustfmt.toml Fix refresh_focus 2023-04-01 20:35:58 +04:00