X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfiguration.h;h=66628eebf15c5317eca677021ad98b0f28e3af07;hb=7732971ad86433cc232e5d951564acff448e08a5;hp=ced104b657d334c3e6afd0440e02f814a54c5c75;hpb=4e9925de7300997567d6621c8466d5b62b974021;p=i3%2Fi3 diff --git a/include/configuration.h b/include/configuration.h index ced104b6..66628eeb 100644 --- a/include/configuration.h +++ b/include/configuration.h @@ -12,10 +12,11 @@ */ #pragma once +#include "libi3.h" + #include #include "queue.h" #include "i3.h" -#include "libi3.h" typedef struct Config Config; typedef struct Barconfig Barconfig; @@ -67,7 +68,8 @@ struct Variable { char *value; char *next_match; - SLIST_ENTRY(Variable) variables; + SLIST_ENTRY(Variable) + variables; }; /** @@ -81,7 +83,8 @@ struct Mode { bool pango_markup; struct bindings_head *bindings; - SLIST_ENTRY(Mode) modes; + SLIST_ENTRY(Mode) + modes; }; /** @@ -153,6 +156,9 @@ struct Config { * is fetched once and never updated. */ bool force_xinerama; + /** Don’t use RandR 1.5 for querying outputs. */ + bool disable_randr15; + /** Overwrites output detection (for testing), see src/fake_outputs.c */ char *fake_outputs; @@ -252,7 +258,8 @@ struct Barconfig { /* List of outputs on which the tray is allowed to be shown, in order. * The special value "none" disables it (per default, it will be shown) and * the special value "primary" enabled it on the primary output. */ - TAILQ_HEAD(tray_outputs_head, tray_output_t) tray_outputs; + TAILQ_HEAD(tray_outputs_head, tray_output_t) + tray_outputs; /* Padding around the tray icons. */ int tray_padding; @@ -283,7 +290,8 @@ struct Barconfig { M_MOD5 = 7 } modifier; - TAILQ_HEAD(bar_bindings_head, Barbinding) bar_bindings; + TAILQ_HEAD(bar_bindings_head, Barbinding) + bar_bindings; /** Bar position (bottom by default). */ enum { P_BOTTOM = 0, @@ -350,7 +358,8 @@ struct Barconfig { char *binding_mode_text; } colors; - TAILQ_ENTRY(Barconfig) configs; + TAILQ_ENTRY(Barconfig) + configs; }; /** @@ -365,13 +374,15 @@ struct Barbinding { /** The command which is to be executed for this button. */ char *command; - TAILQ_ENTRY(Barbinding) bindings; + TAILQ_ENTRY(Barbinding) + bindings; }; struct tray_output_t { char *output; - TAILQ_ENTRY(tray_output_t) tray_outputs; + TAILQ_ENTRY(tray_output_t) + tray_outputs; }; /**