summaryrefslogtreecommitdiffstats
path: root/include/config.h
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-29 14:47:30 +0200
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-30 00:47:58 +0200
commit5a13cb0ed136906a4370235214601b0129548c49 (patch)
tree51dce6cdcb9bb1ffe27dcdc9a01ca9bda3a7c87a /include/config.h
parentAdd border <none|normal|toggle|pixel> config (diff)
downloadsway-5a13cb0ed136906a4370235214601b0129548c49.tar.gz
sway-5a13cb0ed136906a4370235214601b0129548c49.tar.zst
sway-5a13cb0ed136906a4370235214601b0129548c49.zip
Implement borders
The borders are implemented as a surface/buffer attached to each view which is sent to and rendered by wlc in the view_pre_render callback. All the drawing logic is handled in sway/border.c and all the logic for calculating the geometry of the border/view is handled in `update_geometry` in sway/layout.c (same place as gaps are calculated).
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index a35cfd0a..fb84423c 100644
--- a/include/config.h
+++ b/include/config.h
@@ -184,6 +184,7 @@ struct sway_config {
184 enum swayc_layouts default_orientation; 184 enum swayc_layouts default_orientation;
185 enum swayc_layouts default_layout; 185 enum swayc_layouts default_layout;
186 char *font; 186 char *font;
187 int font_height;
187 188
188 // Flags 189 // Flags
189 bool focus_follows_mouse; 190 bool focus_follows_mouse;