X11: Set correct WM_CLASS property to windows

Closes #968