diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-10 14:06:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-10 14:06:14 +0200 |
commit | 782ed19bc30378126f44272c1e46f2a05a9b2db1 (patch) | |
tree | ad2feecb17cadccf71468d4f6b22d2ad6cf27d00 /include | |
parent | 155e863ead0edca244e4c961ca80418edde81838 (diff) | |
parent | ed33d95b6ae8a2d231cdda554f364af7211c2527 (diff) |
Merge pull request #2814 from Emantor/mouse-warping-container
Add mouse_warping container
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/config.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 00b5f25b..0325042c 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -325,6 +325,12 @@ enum focus_wrapping_mode { WRAP_FORCE }; +enum mouse_warping_mode { + WARP_NO, + WARP_OUTPUT, + WARP_CONTAINER +}; + /** * The configuration struct. The result of loading a config file. */ @@ -366,7 +372,7 @@ struct sway_config { // Flags bool focus_follows_mouse; bool raise_floating; - bool mouse_warping; + enum mouse_warping_mode mouse_warping; enum focus_wrapping_mode focus_wrapping; bool active; bool failed; |