Skip to content

Unpin & upgrade winit to 0.30.5#4939

Merged
emilk merged 3 commits intoemilk:masterfrom
ArthurBrussee:winit-bump
Aug 9, 2024
Merged

Unpin & upgrade winit to 0.30.5#4939
emilk merged 3 commits intoemilk:masterfrom
ArthurBrussee:winit-bump

Conversation

@ArthurBrussee
Copy link
Copy Markdown
Contributor

This updates winit to 0.30.5.

#4849 Had to pin the version to 0.30.2, as a Winit patch changed the behavior of selecting a theme. Winit 0.30.5 reverts this, so we could stick with window.theme(), but the newly added ActiveEventLoop::system_theme is more like what egui wants anyway, as individual windows can have theme overrides.

Also bump smithay-clipboard to prevent some now duplicate dependencies.

@girtsf
Copy link
Copy Markdown
Contributor

girtsf commented Aug 8, 2024

Tested and can confirm that this fixes touchscreen release issues (#4895).

Copy link
Copy Markdown
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@emilk emilk added eframe Relates to epi and eframe egui-winit porblems related to winit dependencies Pull requests that update a dependency file labels Aug 9, 2024
@emilk emilk merged commit 1f6ae49 into emilk:master Aug 9, 2024
486c pushed a commit to 486c/egui that referenced this pull request Oct 9, 2024
This updates winit to 0.30.5. 

emilk#4849 Had to pin the version to
0.30.2, as a Winit patch changed the behavior of selecting a theme.
Winit 0.30.5 reverts this, so we could stick with `window.theme()`, but
the newly added `ActiveEventLoop::system_theme` is more like what egui
wants anyway, as individual windows can have theme overrides.

Also bump `smithay-clipboard` to prevent some now duplicate
dependencies.
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
This updates winit to 0.30.5. 

emilk#4849 Had to pin the version to
0.30.2, as a Winit patch changed the behavior of selecting a theme.
Winit 0.30.5 reverts this, so we could stick with `window.theme()`, but
the newly added `ActiveEventLoop::system_theme` is more like what egui
wants anyway, as individual windows can have theme overrides.

Also bump `smithay-clipboard` to prevent some now duplicate
dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file eframe Relates to epi and eframe egui-winit porblems related to winit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

touchscreen click events are not detected properly (on Linux)

3 participants