aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-27 23:20:21 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-27 23:20:21 -0400
commit46da1dc32bd6c101964d32bb698e8187fb9ee91e (patch)
treee713b194254bf6d43214a394459c1b94e64bbacb /include/sway/config.h
parentMerge pull request #2050 from smlx/focus-fix (diff)
downloadsway-46da1dc32bd6c101964d32bb698e8187fb9ee91e.tar.gz
sway-46da1dc32bd6c101964d32bb698e8187fb9ee91e.tar.zst
sway-46da1dc32bd6c101964d32bb698e8187fb9ee91e.zip
Implement focus_wrapping
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 118981e3..de651ea4 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -285,6 +285,12 @@ struct ipc_policy {
285 uint32_t features; 285 uint32_t features;
286}; 286};
287 287
288enum focus_wrapping_mode {
289 WRAP_NO,
290 WRAP_YES,
291 WRAP_FORCE
292};
293
288/** 294/**
289 * The configuration struct. The result of loading a config file. 295 * The configuration struct. The result of loading a config file.
290 */ 296 */
@@ -320,7 +326,7 @@ struct sway_config {
320 // Flags 326 // Flags
321 bool focus_follows_mouse; 327 bool focus_follows_mouse;
322 bool mouse_warping; 328 bool mouse_warping;
323 bool force_focus_wrapping; 329 enum focus_wrapping_mode focus_wrapping;
324 bool active; 330 bool active;
325 bool failed; 331 bool failed;
326 bool reloading; 332 bool reloading;