From 7ae95e46606a1fa22e302fd2c1ea99cb23acbd81 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Apr 2007 01:29:53 +0000 Subject: save windows' colormaps rather than querying them from the server every time you focus it --- openbox/client.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbox/client.h') 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); -- cgit v1.2.3