I can confirm this happens in ubuntu 18.04.3 between Chrome and Slack.
Workaround in #3 doesn't work for me, as WM_CLASS is already correctly set, i.e.:
* slack: `WM_CLASS(STRING) = "slack", "Slack"`
* chrome: `WM_CLASS(STRING) = "google-chrome", "Google-chrome"`
However, killing both applications and relaunching seems to correct the issue.
I can confirm this happens in ubuntu 18.04.3 between Chrome and Slack.
Workaround in #3 doesn't work for me, as WM_CLASS is already correctly set, i.e.:
* slack: `WM_CLASS(STRING) = "slack", "Slack"`
* chrome: `WM_CLASS(STRING) = "google-chrome", "Google-chrome"`
However, killing both applications and relaunching seems to correct the issue.