From 7f4b4fbe698bd493b627a710dab69332d8030161 Mon Sep 17 00:00:00 2001 From: monofuel Date: Tue, 17 Feb 2026 14:34:55 -0500 Subject: [PATCH] fix ctrl-x on linux --- src/windy/platforms/linux/x11.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windy/platforms/linux/x11.nim b/src/windy/platforms/linux/x11.nim index 5f8eb3a..05774d4 100644 --- a/src/windy/platforms/linux/x11.nim +++ b/src/windy/platforms/linux/x11.nim @@ -1195,7 +1195,7 @@ proc processClipboardEvents: bool = event: ptr XEvent, userData: pointer ): bool {.cdecl.} = - event.any.window == cast[Window](userData).handle + event.any.window == cast[XWindow](userData) while display.XCheckIfEvent( ev.addr, checkEvent, cast[pointer](clipboardWindow)