Auto merge of #29457 - servo:dependabot/cargo/winit-0.28.2, r=mukilan

Bump winit from 0.28.1 to 0.28.2

Bumps [winit](https://github.com/rust-windowing/winit) from 0.28.1 to 0.28.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-windowing/winit/releases">winit's releases</a>.</em></p>
<blockquote>
<h2>Winit Version v0.28.2</h2>
<ul>
<li>Implement <code>HasRawDisplayHandle</code> for <code>EventLoop</code>.</li>
<li>On macOS, set resize increments only for live resizes.</li>
<li>On Wayland, fix rare crash on DPI change.</li>
<li>On Web, add support for <code>Window::theme</code>.</li>
<li>On Wayland, fix rounding issues when doing resize.</li>
<li>On macOS, fix wrong focused state on startup.</li>
<li>On Windows, fix crash on setting taskbar when using Visual Studio debugger.</li>
<li>On macOS, resize simple fullscreen windows on windowDidChangeScreen events.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md">winit's changelog</a>.</em></p>
<blockquote>
<h1>0.28.2</h1>
<ul>
<li>Implement <code>HasRawDisplayHandle</code> for <code>EventLoop</code>.</li>
<li>On macOS, set resize increments only for live resizes.</li>
<li>On Wayland, fix rare crash on DPI change</li>
<li>Web: Added support for <code>Window::theme</code>.</li>
<li>On Wayland, fix rounding issues when doing resize.</li>
<li>On macOS, fix wrong focused state on startup.</li>
<li>On Windows, fix crash on setting taskbar when using Visual Studio debugger.</li>
<li>On macOS, resize simple fullscreen windows on windowDidChangeScreen events.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d102c21792"><code>d102c21</code></a> Winit version 0.28.2</li>
<li><a href="68ed564def"><code>68ed564</code></a> On macOS, resize simple fullscreen on window move</li>
<li><a href="339d57b646"><code>339d57b</code></a> On Windows, check whether CoCreateInstance succeeds</li>
<li><a href="2e4dafc9fe"><code>2e4dafc</code></a> On macOS, fix initial focused state</li>
<li><a href="0fbba02318"><code>0fbba02</code></a> Update FEATURES.md</li>
<li><a href="41e524f12c"><code>41e524f</code></a> On Wayland, fix rounding issue in resizes</li>
<li><a href="644c47a6f8"><code>644c47a</code></a> Add support for <code>Window::theme</code> on the web (<a href="https://github-redirect.dependabot.com/rust-windowing/winit/issues/2687">#2687</a>)</li>
<li><a href="0be08e574d"><code>0be08e5</code></a> On Wayland, fix rare crash on DPI change</li>
<li><a href="811cc5cdb7"><code>811cc5c</code></a> On macOS, set resize increments only for live resize</li>
<li><a href="230b37df56"><code>230b37d</code></a> Implement <code>HasRawDisplayHandle</code> for <code>EventLoop</code> (<a href="https://github-redirect.dependabot.com/rust-windowing/winit/issues/2677">#2677</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-windowing/winit/compare/v0.28.1...v0.28.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=winit&package-manager=cargo&previous-version=0.28.1&new-version=0.28.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
This commit is contained in:
bors-servo 2023-03-07 12:23:05 +01:00 committed by GitHub
commit 7dfc0312c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View file

@ -7610,9 +7610,9 @@ checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd"
[[package]]
name = "winit"
version = "0.28.1"
version = "0.28.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c4755d4ba0e3d30fc7beef2095e246b1e6a6fad0717608bcb87a2df4b003bcf"
checksum = "9d38e7dc904dda347b54dbec3b2d4bf534794f4fb4e6df0be91a264f4f2ed1cf"
dependencies = [
"android-activity",
"bitflags",

View file

@ -60,7 +60,7 @@ shellwords = "1.0.0"
surfman = { version = "0.6", features = ["sm-winit", "sm-x11"] }
tinyfiledialogs = "3.0"
webxr = { git = "https://github.com/servo/webxr", features = ["ipc", "glwindow", "headless"] }
winit = "0.28.1"
winit = "0.28.2"
[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies]
image = "0.24"