From 64c6a3cc4c2ac741169909e4f8be2f856e630d48 Mon Sep 17 00:00:00 2001 From: eatradish Date: Wed, 21 Jan 2026 22:58:48 +0800 Subject: [PATCH] fix: fix missing var name change on linux --- src/gui/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/utils.rs b/src/gui/utils.rs index 432b92b..141f1a5 100644 --- a/src/gui/utils.rs +++ b/src/gui/utils.rs @@ -80,7 +80,7 @@ pub fn set_always_on_top(_window: &mut Window, _cx: &mut Context, _pinned: #[cfg(target_os = "linux")] { if let Some(x11) = crate::gui::app::X11.get() { - if let Err(e) = x11.set_always_on_top(always_on_top) { + if let Err(e) = x11.set_always_on_top(_pinned) { eprintln!("[ropy] Failed to set always on top: {e}") } }