On Wayland, fix transparency hint not set in new

Fixes #2894.
This commit is contained in:
Kirill Chibisov 2023-06-22 00:21:43 +00:00 committed by GitHub
parent 7929999c1c
commit 66ff52b012
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);