]> 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)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 13 Sep 2017 16:45:46 +0000 (18:45 +0200)
commit1b419431cd27695d65b2af364b53dd70a9cc436f
treec4977a23e73255c4a78ff0fa42bbb65b7a038d12
parentd0c9e81f044f6f4343a5b020f7d7d68530af256b
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