Skip to content

X11: Fix PlatformHandle#283

Merged
prokopyl merged 1 commit into
masterfrom
fix-platform-handle
Jul 6, 2026
Merged

X11: Fix PlatformHandle#283
prokopyl merged 1 commit into
masterfrom
fix-platform-handle

Conversation

@prokopyl

@prokopyl prokopyl commented Jul 6, 2026

Copy link
Copy Markdown
Member

This PR fixes PlatformHandle returning an XCBHandle and an XlibHandle as window and display handle respectively, which makes some libraries (Iced, WGPU in some cases) crash.

(and because this is clearly incorrect behavior 😅 )

The X11 handles now also properly provide the visual_id field.

This PR also updates the WGPU example to the latest version, and introduces env_logger in it.

This fixes #281.

@prokopyl prokopyl merged commit de8639c into master Jul 6, 2026
14 checks passed
@prokopyl prokopyl deleted the fix-platform-handle branch July 6, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Iced doesn't seem to like PlatformHandle

1 participant