]> git.sur5r.net Git - i3/i3/commit
Refactor workspaces to be stored in a TAILQ instead of an array
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 29 Sep 2009 17:45:41 +0000 (19:45 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 29 Sep 2009 17:45:41 +0000 (19:45 +0200)
commit2b70e05ee91d86fc1efa8433c7df05e482893561
tree74020955970343e8aa75fdc9f44a17f0f1e87d8a
parent5a77081c5538477f0bde3ca9248f408e7b54e9aa
Refactor workspaces to be stored in a TAILQ instead of an array

This fixes many problems we were having with a dynamically growing
array because of the realloc (pointers inside the area which was
allocated were no longer valid as soon as the realloc moved the
memory to another address).

Again, this is a rather big change, so expect problems and enable
core-dumps.
15 files changed:
include/data.h
include/table.h
src/cfgparse.y
src/click.c
src/client.c
src/commands.c
src/config.c
src/handlers.c
src/layout.c
src/mainx.c
src/manage.c
src/table.c
src/util.c
src/workspace.c
src/xinerama.c