Persist the desktop card position in state.edn
CI / test (push) Failing after 16s

:desktop-card {:x N :y N} is written when the card is dropped (and kept on later saves),
and restored at startup; the existing clamp keeps it on screen if the resolution changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Sonnet 5.5 committed 2026-11-25 02:59:38 -08:00
1 parent 61796b9f69
commit 69a163bc08
3 files changed
+74 -4

No files matched your search

+1
View File
@@ -617,6 +617,7 @@ fn DesktopShell::reorder_dragged(self : DesktopShell, x : Int) -> Unit {
pub fn DesktopShell::pointer_up(self : DesktopShell) -> Bool {
if self.desk_drag {
self.desk_drag = false
self.save_state() // remember where the card was dropped
return true
}
let slot = self.drag_slot