Changed the default for show_marks from "no" to "yes"

next
Ingo Bürk 2015-03-30 22:16:05 +02:00
parent 245a29e233
commit 6036d4e506
3 changed files with 5 additions and 3 deletions

View File

@ -1012,7 +1012,7 @@ If activated, marks on windows are drawn in their window decoration. However,
any mark starting with an underscore in its name (+_+) will not be drawn even if
this option is activated.
The default for this option is +no+.
The default for this option is +yes+.
*Syntax*:
-------------------
@ -1904,7 +1904,7 @@ The additional +--toggle+ option will remove the mark if the window already has
this mark, add it if the window has none or replace the current mark if it has
another mark.
Refer to +show_marks+ if you want marks to be shown in the window decoration.
Refer to +show_marks+ if you don't want marks to be shown in the window decoration.
*Syntax*:
------------------------------

View File

@ -1046,7 +1046,7 @@ void cmd_mark(I3_CMD, char *mark, char *toggle) {
owindow *current;
TAILQ_FOREACH(current, &owindows, owindows) {
DLOG("matching: %p / %s\n", current->con, current->con->name);
current->con->mark_changed=true;
current->con->mark_changed = true;
if (toggle != NULL && current->con->mark && strcmp(current->con->mark, mark) == 0) {
DLOG("removing window mark %s\n", mark);
FREE(current->con->mark);

View File

@ -190,6 +190,8 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath,
INIT_COLOR(config.bar.unfocused, "#333333", "#222222", "#888888", "#000000");
INIT_COLOR(config.bar.urgent, "#2f343a", "#900000", "#ffffff", "#000000");
config.show_marks = true;
config.default_border = BS_NORMAL;
config.default_floating_border = BS_NORMAL;
config.default_border_width = logical_px(2);