diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-24 01:29:53 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-24 01:29:53 +0000 |
| commit | 7ae95e46606a1fa22e302fd2c1ea99cb23acbd81 (patch) | |
| tree | 78c8d149eb8e981e06408206347f9b5fb624e03b /openbox/client.h | |
| parent | 3595da62ca70f494f3341af744da627af414cb18 (diff) | |
save windows' colormaps rather than querying them from the server every time you focus it
Diffstat (limited to 'openbox/client.h')
| -rw-r--r-- | openbox/client.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/client.h b/openbox/client.h index 73596790..e9a13041 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -193,6 +193,9 @@ struct _ObClient /*! Window decoration and functionality hints */ ObMwmHints mwmhints; + + /*! The client's specified colormap */ + Colormap colormap; /*! Where to place the decorated window in relation to the undecorated window */ @@ -543,6 +546,8 @@ void client_update_transient_for(ObClient *self); /*! Update the protocols that the window supports and adjusts things if they change */ void client_update_protocols(ObClient *self); +/*! Updates the window's colormap */ +void client_update_colormap(ObClient *self, Colormap colormap); /*! Updates the WMNormalHints and adjusts things if they change */ void client_update_normal_hints(ObClient *self); |
