Implement storing WM_CLASS of each client

This commit is contained in:
Michael Stapelberg
2009-03-30 09:39:35 +02:00
parent 12fa69329a
commit e295ab302b
4 changed files with 46 additions and 3 deletions

View File

@ -249,6 +249,9 @@ struct Client {
legacy window names are ignored. */
bool uses_net_wm_name;
/* Holds the WM_CLASS, useful for matching the client in commands */
char *window_class;
/* fullscreen is pretty obvious */
bool fullscreen;