summaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorBrian Ashworth <[email protected]>2018-09-03 00:24:28 -0400
committerGitHub <[email protected]>2018-09-03 00:24:28 -0400
commitafb69688746b04d7667e1d57d9ac844bd2671570 (patch)
treef950fd298c335abd992005a26029dbfba8010136 /include/sway/config.h
parent349d1f3be87ad9fd49482f64c71eb2665750261b (diff)
parent3af9588eb4aab0b4f45edf2601c9a7ff0846861f (diff)
Merge branch 'master' into disabled-no-modeset
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index 18d10faa..4ee8c3c2 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -58,6 +58,16 @@ struct sway_mouse_binding {
};
/**
+ * Focus on window activation.
+ */
+enum sway_fowa {
+ FOWA_SMART,
+ FOWA_URGENT,
+ FOWA_FOCUS,
+ FOWA_NONE,
+};
+
+/**
* A "mode" of keybindings created via the `mode` command.
*/
struct sway_mode {
@@ -340,6 +350,7 @@ struct sway_config {
size_t font_height;
bool pango_markup;
size_t urgent_timeout;
+ enum sway_fowa focus_on_window_activation;
// Flags
bool focus_follows_mouse;