srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/wayland/src/state/geometry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/wayland/src/state/geometry.rs')
-rw-r--r--crates/wayland/src/state/geometry.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/wayland/src/state/geometry.rs b/crates/wayland/src/state/geometry.rs
index 43e0f87..0a31e85 100644
--- a/crates/wayland/src/state/geometry.rs
+++ b/crates/wayland/src/state/geometry.rs
@@ -631,11 +631,11 @@ impl CompState {
/// Called from `CompositorHandler::commit`, right after `w.on_commit()`
/// - the first time a window still in `provisional_size` commits a
- /// real, non-empty buffer, adopts the client's own chosen content size
- /// into `Window::geometry` instead of leaving `add_window`'s guessed
- /// placeholder in place. A no-op once `provisional_size` no longer
- /// names this window (the ordinary case, checked first, so every other
- /// commit pays only one `HashSet` lookup).
+ /// real, non-empty buffer, adopts the client's own chosen content size
+ /// into `Window::geometry` instead of leaving `add_window`'s guessed
+ /// placeholder in place. A no-op once `provisional_size` no longer
+ /// names this window (the ordinary case, checked first, so every other
+ /// commit pays only one `HashSet` lookup).
///
/// Position is left exactly where `SmartPlacement` put it - only
/// clamped so a client that picked a bigger size than the guess can't