From 23915cfc5343859329731c50114f701997c29b1f Mon Sep 17 00:00:00 2001 From: Ulrik de Muelenaere Date: Sat, 20 Aug 2022 12:43:02 -0400 Subject: [PATCH] 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. --- alacritty/src/display/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alacritty/src/display/window.rs b/alacritty/src/display/window.rs index 0e754ed4..2710edb0 100644 --- a/alacritty/src/display/window.rs +++ b/alacritty/src/display/window.rs @@ -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)