]> git.sur5r.net Git - i3/i3/commitdiff
Changed the default for show_marks from "no" to "yes" 1601/head
authorIngo Bürk <ingo.buerk@tngtech.com>
Mon, 30 Mar 2015 20:16:05 +0000 (22:16 +0200)
committerIngo Bürk <ingo.buerk@tngtech.com>
Mon, 30 Mar 2015 21:11:50 +0000 (23:11 +0200)
docs/userguide
src/commands.c
src/config.c

index 921a862826338ef8e8d25abd869065f742a1aca8..2e42493c598bd017bb3d64b31557328f3c505f97 100644 (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.
 
 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*:
 -------------------
 
 *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.
 
 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*:
 ------------------------------
 
 *Syntax*:
 ------------------------------
index 6c24e24d7016750d2b58917c4c5ae8321966b53c..dc60e974f796ad4b244c15d5a8b427be211f53af 100644 (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);
     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);
         if (toggle != NULL && current->con->mark && strcmp(current->con->mark, mark) == 0) {
             DLOG("removing window mark %s\n", mark);
             FREE(current->con->mark);
index 36b7a16331c234171c543e76c39e44d85e264e83..8a1cb99c168e1934bc28063d641ded33d47b47b3 100644 (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");
 
     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);
     config.default_border = BS_NORMAL;
     config.default_floating_border = BS_NORMAL;
     config.default_border_width = logical_px(2);