to test, run xprop and click on the emacs window.
$ xprop| grep CLASS WM_CLASS(STRING) = "emacs23", "Emacs23"
to test, run xprop and click on the emacs window.
$ xprop| grep CLASS
WM_CLASS(STRING) = "emacs23", "Emacs23"