From b9b1b0e5662f8e3dbbfa9bb09dd4f69aac9c2db0 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Sat, 20 Oct 2018 17:51:32 +1000 Subject: 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. --- sway/config.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sway/config.c') diff --git a/sway/config.c b/sway/config.c index f683e7ab..b9cb0a1c 100644 --- a/sway/config.c +++ b/sway/config.c @@ -221,7 +221,6 @@ static void config_defaults(struct sway_config *config) { // Flags config->focus_follows_mouse = true; - config->raise_floating = true; config->mouse_warping = WARP_OUTPUT; config->focus_wrapping = WRAP_YES; config->validating = false; -- cgit v1.2.3-54-g00ecf