srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/wayland/src/protocols
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2026-08-30 20:41:00 +0200
committersrdusr <[email protected]>2026-08-30 20:41:00 +0200
commitf2f9ed1b3f9c49b323ce591eb72a406058d324a4 (patch)
tree12a53c9c527c0a63a4d93ed197af3f9edf2fca79 /crates/wayland/src/protocols
parentbac91a6162542025676f57afc3e514b88aa65366 (diff)
downloadsrdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.tar.gz
srdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.zip
Indent doc list continuations
Diffstat (limited to 'crates/wayland/src/protocols')
-rw-r--r--crates/wayland/src/protocols/compositor.rs18
-rw-r--r--crates/wayland/src/protocols/xdg_decoration.rs2
2 files changed, 10 insertions, 10 deletions
diff --git a/crates/wayland/src/protocols/compositor.rs b/crates/wayland/src/protocols/compositor.rs
index cf5a048..496efa5 100644
--- a/crates/wayland/src/protocols/compositor.rs
+++ b/crates/wayland/src/protocols/compositor.rs
@@ -39,15 +39,15 @@ impl CompositorHandler for CompState {
///
/// Fixed by registering our own pre-commit hook here, in `new_surface`
/// - called at `wl_compositor.create_surface`, strictly before any
- /// later `get_layer_surface` on the same surface could register
- /// smithay's own hook. Hooks run in registration order (`tree.rs`:
- /// `pre_commit_hooks` is a plain `Vec`, pushed and iterated in order),
- /// so ours always runs first and can neutralize the stale reset state
- /// before smithay's hook ever inspects it. This depends on that
- /// ordering guarantee holding in future smithay versions - it isn't
- /// documented as an API contract, just an implementation detail
- /// confirmed against 0.7.0's source - so re-check this file against
- /// whatever smithay version replaces it.
+ /// later `get_layer_surface` on the same surface could register
+ /// smithay's own hook. Hooks run in registration order (`tree.rs`:
+ /// `pre_commit_hooks` is a plain `Vec`, pushed and iterated in order),
+ /// so ours always runs first and can neutralize the stale reset state
+ /// before smithay's hook ever inspects it. This depends on that
+ /// ordering guarantee holding in future smithay versions - it isn't
+ /// documented as an API contract, just an implementation detail
+ /// confirmed against 0.7.0's source - so re-check this file against
+ /// whatever smithay version replaces it.
///
/// Cost: one closure registered per `wl_surface` (not just layer
/// surfaces, since we don't know in advance which ones will become
diff --git a/crates/wayland/src/protocols/xdg_decoration.rs b/crates/wayland/src/protocols/xdg_decoration.rs
index c3c7f0b..99579a3 100644
--- a/crates/wayland/src/protocols/xdg_decoration.rs
+++ b/crates/wayland/src/protocols/xdg_decoration.rs
@@ -39,7 +39,7 @@ impl XdgDecorationHandler for CompState {
/// titlebar as before.
/// `theme.decorations.force_server_side` overrides the client's request
/// - see `ThemeConfig::force_server_side` for why that is allowed and
- /// why it is off by default.
+ /// why it is off by default.
fn request_mode(&mut self, toplevel: ToplevelSurface, mode: DecorationMode) {
let forced = self.wm.borrow().theme.force_server_side;
let mode = if forced { DecorationMode::ServerSide } else { mode };