srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/wayland/src/udev
diff options
context:
space:
mode:
Diffstat (limited to 'crates/wayland/src/udev')
-rw-r--r--crates/wayland/src/udev/platform.rs2
-rw-r--r--crates/wayland/src/udev/render.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/wayland/src/udev/platform.rs b/crates/wayland/src/udev/platform.rs
index eb04998..bf887b1 100644
--- a/crates/wayland/src/udev/platform.rs
+++ b/crates/wayland/src/udev/platform.rs
@@ -94,7 +94,7 @@ impl UdevPlatform {
variant: system_xkb.variant.as_deref().unwrap_or(""),
options: system_xkb.options.clone(),
};
- // 600ms delay, not 200 - see `state.rs`'s `REPEAT_DELAY` doc
+ // 600ms delay, not 200 - see `state/mod.rs`'s `REPEAT_DELAY` doc
// comment for why.
seat.add_keyboard(xkb_config, 600, 25).map_err(err)?;
seat.add_pointer();
diff --git a/crates/wayland/src/udev/render.rs b/crates/wayland/src/udev/render.rs
index d35834a..65c21dd 100644
--- a/crates/wayland/src/udev/render.rs
+++ b/crates/wayland/src/udev/render.rs
@@ -24,7 +24,7 @@ impl CompState {
// Rendered per window, front-to-back (topmost first), each window's
// content immediately followed by its decoration and border --
// fixes the same cross-window ordering bug documented in
- // `winit.rs`'s render loop: a background window's titlebar could
+ // `winit/render.rs`'s render loop: a background window's titlebar could
// otherwise show through in front of the actually-focused window on
// top of it, since decorations/borders used to be a single flat
// layer drawn unconditionally above *every* window's content
@@ -297,7 +297,7 @@ impl CompState {
if rounded_corners_enabled {
let epoch = self.content_epoch.get(&id).copied().unwrap_or(0);
// Bottom-only for a decorated window, same
- // reasoning as `winit.rs`'s identical split:
+ // reasoning as `winit/render.rs`'s identical split:
// the top two corners are already hidden
// under the titlebar band's own rounded
// bitmap.