Title: Fix X11 support and add floating window hint for tiling WMs by pepc84 · Pull Request #164 · processing/libprocessing · GitHub
Open Graph Title: Fix X11 support and add floating window hint for tiling WMs by pepc84 · Pull Request #164 · processing/libprocessing
X Title: Fix X11 support and add floating window hint for tiling WMs by pepc84 · Pull Request #164 · processing/libprocessing
Description: 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
Open Graph Description: 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.tom...
X Description: 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.tom...
Opengraph URL: https://github.com/processing/libprocessing/pull/164
X: @github
Domain: Github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:193532f8-ab75-c574-59ec-b01d29104786 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 805A:20E521:11575AE:18BB3A1:6A633D49 |
| html-safe-nonce | 78c6181c3b0e20b028704877fb8ae1eadaa95114aa8331b0c5d978d9edd0a148 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDVBOjIwRTUyMToxMTU3NUFFOjE4QkIzQTE6NkE2MzNENDkiLCJ2aXNpdG9yX2lkIjoiMjc3NjU3NTIwNjIxMTQwMzA4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ba755266015599eb7808f079a8078ecbee19ac2fd939bb154770d712f301516d |
| hovercard-subject-tag | pull_request:3833593811 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/processing/libprocessing/pull/164/files |
| twitter:image | https://avatars.githubusercontent.com/u/57294729?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/57294729?s=400&v=4 |
| og:image:alt | 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.tom... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/processing/libprocessing git https://github.com/processing/libprocessing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 1101329545 |
| octolytics-dimension-repository_nwo | processing/libprocessing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1101329545 |
| octolytics-dimension-repository_network_root_nwo | processing/libprocessing |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 990295d92a4cc7b63fbbd83a046217cd7d77d49c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width