From 0e8352388dc039d32076c7056854d54573bffb6b Mon Sep 17 00:00:00 2001 From: nixdrin <146267602+nixdrin@users.noreply.github.com> Date: Sun, 8 Oct 2023 19:54:27 +0200 Subject: [PATCH] drawio: fix startupWMClass drawio seems to report "draw.io" as WM_CLASS, not "drawio". Having this wrong means it does not get associated properly to the desktop entry and is not grouped properly on the task bar. (Checked using "xprop WM_CLASS" then clicking the drawio window.) --- pkgs/applications/graphics/drawio/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/drawio/default.nix b/pkgs/applications/graphics/drawio/default.nix index 2ca3442f704b..92414531522e 100644 --- a/pkgs/applications/graphics/drawio/default.nix +++ b/pkgs/applications/graphics/drawio/default.nix @@ -87,7 +87,7 @@ stdenv.mkDerivation rec { comment = "draw.io desktop"; mimeTypes = [ "application/vnd.jgraph.mxfile" "application/vnd.visio" ]; categories = [ "Graphics" ]; - startupWMClass = "drawio"; + startupWMClass = "draw.io"; }) ];