Make colorpixels independent from clients

This commit is contained in:
Michael Stapelberg
2009-03-05 02:58:12 +01:00
parent e4627bcaed
commit 56393c823e
5 changed files with 34 additions and 56 deletions

View File

@ -236,11 +236,6 @@ struct Client {
xcb_gcontext_t titlegc; /* The titlebars graphic context inside the frame */
xcb_window_t child; /* The clients window */
/* Cache of colorpixels for this client */
/* TODO: Couldnt we move them outside here, as they should only depend on the
root window? */
SLIST_HEAD(colorpixel_head, Colorpixel) colorpixels;
/* The following entry provides the necessary list pointers to use Client with LIST_* macros */
CIRCLEQ_ENTRY(Client) clients;
SLIST_ENTRY(Client) dock_clients;