aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrik de Muelenaere <ulrikdem@gmail.com>2022-08-20 12:43:02 -0400
committerGitHub <noreply@github.com>2022-08-20 16:43:02 +0000
commit23915cfc5343859329731c50114f701997c29b1f (patch)
treecf44a521b054b44005108afca8c19ac01138931e
parent5549e9eb0479994fe7004edb54fece657157d81c (diff)
downloadalacritty-23915cfc5343859329731c50114f701997c29b1f.tar.gz
alacritty-23915cfc5343859329731c50114f701997c29b1f.zip
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.
-rw-r--r--alacritty/src/display/window.rs2
1 files changed, 1 insertions, 1 deletions
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)