use .set_wmclass again

This commit is contained in:
Artem Anufrij 2020-11-17 14:54:53 +01:00
parent 0b67144e16
commit 5cbe611f19

View file

@ -40,7 +40,7 @@ namespace Webpin.Windows {
public WebApp (DesktopFile desktop_file) { public WebApp (DesktopFile desktop_file) {
this.desktop_file = desktop_file; this.desktop_file = desktop_file;
this.set_role (desktop_file.url); this.set_wmclass (desktop_file.url, desktop_file.url);
this.events |= Gdk.EventMask.STRUCTURE_MASK; this.events |= Gdk.EventMask.STRUCTURE_MASK;
var color = desktop_file.color; var color = desktop_file.color;