felt-wayland

GDExtension (Rust, godot-rust 0.5 / api-4-7) for Felt's Godot overlay on Linux Wayland. Godot 4.7's Wayland backend leaves window_set_mouse_passthrough as a stub (display_server_wayland.cpp), so the overlay's windows caught every click. On Wayland click-through = an empty input region on the window's wl_surface; this extension attaches to Godot's own wl_display (DisplayServer.window_get_native_handle(DISPLAY_HANDLE)) and sets that region on each window's surface (WINDOW_HANDLE). Verified live 2026-10-15 on KWin (3 monitors).

GDScript (felt-godot-overlay main.gd _wayland_click_through): ClassDB.class_call_static("FeltWayland", "make_click_through", display, surface) -> bool

Build: cargo build --release, copy target/release/libfelt_wayland.so to the overlay's addons/felt_wayland/. Candidate for an upstream Godot fix (implement the stub) - then this goes away.

S
Description
Rust GDExtension that gives Godot 4 click-through windows on Wayland (fills a stub in Godot's Wayland backend)
Readme
34 KiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 100%