Fix general and instance class set on window (#6276)

This fixes a regression introduced in 7d708d5, which caused the general
and instance class to be swapped.
This commit is contained in:
Ulrik de Muelenaere 2022-08-20 12:43:02 -04:00 committed by GitHub
parent 5549e9eb04
commit 23915cfc53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ impl Window {
let builder = WindowBuilder::new()
.with_title(&identity.title)
.with_name(&identity.class.instance, &identity.class.general)
.with_name(&identity.class.general, &identity.class.instance)
.with_visible(false)
.with_transparent(true)
.with_decorations(window_config.decorations != Decorations::None)