Skip to content

Commit

Permalink
On Wayland, fix transparency hint not set in new
Browse files Browse the repository at this point in the history
  • Loading branch information
kchibisov committed Jun 21, 2023
1 parent 7929999 commit 4c8c5a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/platform_impl/linux/wayland/window/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ impl Window {
attributes.preferred_theme,
);

// Set transparency hint.
window_state.set_transparent(attributes.transparent);

// Set the app_id.
if let Some(name) = platform_attributes.name.map(|name| name.general) {
window.set_app_id(name);
Expand Down

0 comments on commit 4c8c5a4

Please sign in to comment.