Find the Window Class (WM_CLASS) for a window

xprop WM_CLASS

After executing the command, click on the window you want the class for.