1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

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

View file

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