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

@ -85,7 +85,15 @@ int handle_windowname_change(void *data, xcb_connection_t *conn, uint8_t state,
*
*/
int handle_windowname_change_legacy(void *data, xcb_connection_t *conn, uint8_t state,
xcb_window_t window, xcb_atom_t atom, xcb_get_property_reply_t *prop);
xcb_window_t window, xcb_atom_t atom, xcb_get_property_reply_t *prop);
/**
* Store the window classes for jumping to them later.
*
*/
int handle_windowclass_change(void *data, xcb_connection_t *conn, uint8_t state,
xcb_window_t window, xcb_atom_t atom, xcb_get_property_reply_t *prop);
/**
* Expose event means we should redraw our windows (= title bar)