Seperate WM-class for pop-ups

The Problem

Currently the WM class for the mailspring compose window and the calendar share the same WM class as the main client. Checked with xprop.
They seem to be pop ups but are not marked as such.

Proposed Solution

Seperate Classes for seperate windows. Allows me to make them float by rules rather than manually.
Or force them to be floating through the electron framework, I believe it allows for that.

Alternative Solutions

Having the compose window take up half the screen and then manually setting it to float. Ugly and requires manual intervention


Probably only affecting Linux but shouldn’t be a hard fix.
This might be of use electron Floating Window · GitHub
and this BrowserWindow | Electron

(Originally posted by soppelmann on GitHub.)