Skip to content

Fix X11 support and add floating window hint for tiling WMs#164

Open
pepc84 wants to merge 1 commit into
processing:mainfrom
pepc84:fix/x11-support
Open

Fix X11 support and add floating window hint for tiling WMs#164
pepc84 wants to merge 1 commit into
processing:mainfrom
pepc84:fix/x11-support

Conversation

@pepc84

@pepc84 pepc84 commented Jun 9, 2026

Copy link
Copy Markdown

Problem

mewnala crashes on X11 systems with GLFW Error: Wayland: Platform not initialized even when building from source with --features x11.

Root cause

The x11 feature in processing_pyo3/Cargo.toml was only passing it to processing but not to processing_glfw, so GLFW never actually got built with X11 support.

What I changed

  • processing_pyo3/Cargo.toml : added processing_glfw/x11 to the x11 feature
  • processing_glfw/Cargo.toml : added the x11 crate as an optional dependency
  • processing_glfw/src/lib.rs : set _NET_WM_WINDOW_TYPE_DIALOG on X11 so tiling WMs like i3 and sway automatically float the window instead of tiling it

Note

X11 users still need to build with --no-default-features --features x11,static-link for now. Wayland is still the default.

Tested on

Arch Linux, i3/X11, AMD Radeon RX 6600 XT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants