aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands.c
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 /sway/commands.c
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 'sway/commands.c')
-rw-r--r--sway/commands.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index d1275a1e..3f416afc 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -110,7 +110,6 @@ static struct cmd_handler handlers[] = {
110 { "no_focus", cmd_no_focus }, 110 { "no_focus", cmd_no_focus },
111 { "output", cmd_output }, 111 { "output", cmd_output },
112 { "popup_during_fullscreen", cmd_popup_during_fullscreen }, 112 { "popup_during_fullscreen", cmd_popup_during_fullscreen },
113 { "raise_floating", cmd_raise_floating },
114 { "seat", cmd_seat }, 113 { "seat", cmd_seat },
115 { "set", cmd_set }, 114 { "set", cmd_set },
116 { "show_marks", cmd_show_marks }, 115 { "show_marks", cmd_show_marks },