diff options
author | Rouven Czerwinski <rouven@czerwinskis.de> | 2018-10-10 11:28:37 +0200 |
---|---|---|
committer | Rouven Czerwinski <rouven@czerwinskis.de> | 2018-10-10 12:45:21 +0200 |
commit | 41991542cac1d909a55fc834d231fe747097b1a4 (patch) | |
tree | 0e0eba7984d8e98b70c29159a2792ec1e39b9351 /sway/config.c | |
parent | Merge pull request #2812 from RyanDwyer/fix-version-messages (diff) | |
download | sway-41991542cac1d909a55fc834d231fe747097b1a4.tar.gz sway-41991542cac1d909a55fc834d231fe747097b1a4.tar.zst sway-41991542cac1d909a55fc834d231fe747097b1a4.zip |
Add mouse_warping container
This option always moves the cursor into the middle of the container if the warp
variable is true in seat_set_focus_warp.
Fixes #2577
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c index 1926bc08..f239ba1d 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -223,7 +223,7 @@ static void config_defaults(struct sway_config *config) { | |||
223 | // Flags | 223 | // Flags |
224 | config->focus_follows_mouse = true; | 224 | config->focus_follows_mouse = true; |
225 | config->raise_floating = true; | 225 | config->raise_floating = true; |
226 | config->mouse_warping = true; | 226 | config->mouse_warping = WARP_OUTPUT; |
227 | config->focus_wrapping = WRAP_YES; | 227 | config->focus_wrapping = WRAP_YES; |
228 | config->validating = false; | 228 | config->validating = false; |
229 | config->reloading = false; | 229 | config->reloading = false; |