Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,9 @@ wasm-bindgen-futures = "0.4.43"
wasm-bindgen-test = "0.3"
web-time = "1"
web_sys = { package = "web-sys", version = "0.3.70" }

# Redirect the crates.io sctk-adwaita and smithay-client-toolkit onto the local
# checkouts so everything shares a single copy of each crate.
[patch.crates-io]
smithay-client-toolkit = { path = "../client-toolkit" }
sctk-adwaita = { path = "../sctk-adwaita" }
3 changes: 3 additions & 0 deletions winit-core/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ pub enum WindowType {
/// [`WindowAttributes::with_transparent`]) and render the round border yourself.
/// - **X11, Web, Android, iOS, Orbital:** An error is returned because it is not implemented.
Popup,
Dialog {
modal: bool,
},
}

/// Attributes used when creating a window.
Expand Down
4 changes: 2 additions & 2 deletions winit-wayland/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ sctk = { package = "smithay-client-toolkit", version = "0.21.0", default-feature
] }
sctk-adwaita = { version = "0.12.0", default-features = false, optional = true }
wayland-backend = { version = "0.3.10", default-features = false, features = ["client_system"] }
wayland-client = "0.31.10"
wayland-protocols = { version = "0.32.12", features = ["staging", "unstable"] }
wayland-client = "0.31.14"
wayland-protocols = { version = "0.32.11", features = ["staging", "unstable"] }
wayland-protocols-plasma = { version = "0.3.8", features = ["client"] }
winit-common = { workspace = true, features = ["xkb", "wayland"] }

Expand Down
Loading
Loading