]> git.sur5r.net Git - i3/i3/commit
Parse the title_format and display the customized window title if a format was set.
authorIngo Bürk <ingo.buerk@tngtech.com>
Wed, 10 Jun 2015 17:01:05 +0000 (19:01 +0200)
committerIngo Bürk <ingo.buerk@tngtech.com>
Mon, 29 Jun 2015 07:13:31 +0000 (09:13 +0200)
commit5a8d66a1d54f620302ee2fa475e306925834a2f4
treeac40c8dc0321c8127820636f5bbeb73f3f0f4f41
parent55e8d06ee4f9dbb190c18198cac7c6e9f137f11a
Parse the title_format and display the customized window title if a format was set.
The format string set with "title_format" can contain the placeholder "%title" which will be replaced with the actual window title.

By not overwriting window->name itself, we make sure that assignment matching still works as expected.

fixes #1723
include/data.h
include/libi3.h
libi3/font.c
libi3/string.c
src/commands.c
src/x.c