aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-10-20 17:51:32 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-10-20 17:51:32 +1000
commitb9b1b0e5662f8e3dbbfa9bb09dd4f69aac9c2db0 (patch)
tree2fbcff058e782577894037efdc65b89fc0b9f182 /include/sway/config.h
parentMerge pull request #2870 from RyanDwyer/refactor-input-manager (diff)
downloadsway-b9b1b0e5662f8e3dbbfa9bb09dd4f69aac9c2db0.tar.gz
sway-b9b1b0e5662f8e3dbbfa9bb09dd4f69aac9c2db0.tar.zst
sway-b9b1b0e5662f8e3dbbfa9bb09dd4f69aac9c2db0.zip
Remove raise_floating directive
The directive controlled whether floating views should raise to the top when the cursor is moved over it while using focus_follows_mouse. The default was enabled, which is undesirable. For example, if you have two floating views where one completely covers the other, the smaller one would be inaccessible because moving the mouse over the bigger one would raise it above the smaller one. There is no known use case for having raise_floating enabled, so this patch removes the directive and implements the raise_floating disabled behaviour instead.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index fef3a60a..852d5576 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -379,7 +379,6 @@ struct sway_config {
379 379
380 // Flags 380 // Flags
381 bool focus_follows_mouse; 381 bool focus_follows_mouse;
382 bool raise_floating;
383 enum mouse_warping_mode mouse_warping; 382 enum mouse_warping_mode mouse_warping;
384 enum focus_wrapping_mode focus_wrapping; 383 enum focus_wrapping_mode focus_wrapping;
385 bool active; 384 bool active;