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/event.c | |
| parent | 3595da62ca70f494f3341af744da627af414cb18 (diff) | |
save windows' colormaps rather than querying them from the server every time you focus it
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/event.c b/openbox/event.c index 759c2e22..5a2fe05b 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1175,6 +1175,9 @@ static void event_handle_client(ObClient *client, XEvent *e) else if (msgtype == prop_atoms.sm_client_id) { client_update_sm_client_id(client); } + case ColormapNotify: + client_update_colormap(client, e->xcolormap.colormap); + break; default: ; #ifdef SHAPE |
