]> git.sur5r.net Git - i3/i3/commit
Introduce output_primary_name function
authorVladimir Panteleev <git@thecybershadow.net>
Sat, 9 Sep 2017 07:18:29 +0000 (07:18 +0000)
committerVladimir Panteleev <git@thecybershadow.net>
Wed, 13 Sep 2017 08:22:57 +0000 (08:22 +0000)
commit30b1ab38b39e4acf7587e04776b31d58577763df
treed410a918b5eddb97aa389f08bbef3597b0755177
parent0f2bce391686e8c4126338ee28d0e199a49f13b5
Introduce output_primary_name function

Currently simply returns output->name, but this will make it easier to
change how output names are stored in the following commits.

Also replace reading output->name with invocations of
output_primary_name. Code which writes output->name is unchanged. Done
using a mostly mechanical replacement of output->name to
output_primary_name(output).
12 files changed:
include/output.h
src/con.c
src/fake_outputs.c
src/handlers.c
src/ipc.c
src/main.c
src/manage.c
src/output.c
src/randr.c
src/tree.c
src/workspace.c
src/xinerama.c