]> git.sur5r.net Git - i3/i3/commit
Optimization: Get the colorpixels when loading configuration, make use of the new...
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 1 Jun 2009 13:14:45 +0000 (15:14 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 1 Jun 2009 13:14:45 +0000 (15:14 +0200)
commit2a67630aa665fe184943943c197eddc60721764a
tree3ff17c475dfaf294b5b698aa881ce63b12dd8356
parent1fcad44f66926e679f4af6e4f4d6abcba700034c
Optimization: Get the colorpixels when loading configuration, make use of the new config struct

Instead of building arrays of colorpixels we can simply use a pointer
to a struct Colortriple. Furthermore, by getting the colorpixels when
loading the configuration, we save a lot of function calls in the
main code.
include/config.h
src/config.c
src/handlers.c
src/layout.c
src/mainx.c