aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOrestis Floros <orestisflo@gmail.com>2021-12-06 22:12:38 +0100
committerOrestis Floros <orestisflo@gmail.com>2021-12-06 22:14:41 +0100
commita4ac843cca3570733e31d2c732874644865bea47 (patch)
tree4972e3720495a4146682319939232723a327b873 /include
parent70f23caa9a18afc146f696fdf7d2481e5f7f0101 (diff)
downloadi3-a4ac843cca3570733e31d2c732874644865bea47.tar.gz
i3-a4ac843cca3570733e31d2c732874644865bea47.zip
Remove outdated //-style commented-out code
This makes the whole code-base have zero changes with clang-format (v13).
Diffstat (limited to 'include')
-rw-r--r--include/config_parser.h14
-rw-r--r--include/data.h4
-rw-r--r--include/randr.h6
3 files changed, 9 insertions, 15 deletions
diff --git a/include/config_parser.h b/include/config_parser.h
index 00d01e45..7b28c170 100644
--- a/include/config_parser.h
+++ b/include/config_parser.h
@@ -41,18 +41,18 @@ struct parser_ctx {
Match current_match;
/* A list which contains the states that lead to the current state, e.g.
- * INITIAL, WORKSPACE_LAYOUT.
- * When jumping back to INITIAL, statelist_idx will simply be set to 1
- * (likewise for other states, e.g. MODE or BAR).
- * This list is used to process the nearest error token. */
+ * INITIAL, WORKSPACE_LAYOUT.
+ * When jumping back to INITIAL, statelist_idx will simply be set to 1
+ * (likewise for other states, e.g. MODE or BAR).
+ * This list is used to process the nearest error token. */
int statelist[10];
/* NB: statelist_idx points to where the next entry will be inserted */
int statelist_idx;
/*******************************************************************************
- * The (small) stack where identified literals are stored during the parsing
- * of a single config directive (like $workspace).
- ******************************************************************************/
+ * The (small) stack where identified literals are stored during the parsing
+ * of a single config directive (like $workspace).
+ ******************************************************************************/
struct stack *stack;
struct variables_head variables;
diff --git a/include/data.h b/include/data.h
index 293d14ef..1b3c7119 100644
--- a/include/data.h
+++ b/include/data.h
@@ -663,8 +663,8 @@ struct Con {
char *title_format;
/** Whether the window icon should be displayed, and with what padding. -1
- * means display no window icon (default behavior), 0 means display without
- * any padding, 1 means display with 1 pixel of padding and so on. */
+ * means display no window icon (default behavior), 0 means display without
+ * any padding, 1 means display with 1 pixel of padding and so on. */
int window_icon_padding;
/* a sticky-group is an identifier which bundles several containers to a
diff --git a/include/randr.h b/include/randr.h
index ae6a20a9..6fd7ea99 100644
--- a/include/randr.h
+++ b/include/randr.h
@@ -51,12 +51,6 @@ void output_init_con(Output *output);
void init_ws_for_output(Output *output);
/**
- * Initializes the specified output, assigning the specified workspace to it.
- *
- */
-//void initialize_output(xcb_connection_t *conn, Output *output, Workspace *workspace);
-
-/**
* (Re-)queries the outputs via RandR and stores them in the list of outputs.
*
*/