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. --- include/sway/commands.h | 1 - include/sway/config.h | 1 - 2 files changed, 2 deletions(-) (limited to 'include') diff --git a/include/sway/commands.h b/include/sway/commands.h index ab2da1a9..2f6d31b1 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h @@ -126,7 +126,6 @@ sway_cmd cmd_floating_modifier; sway_cmd cmd_floating_scroll; sway_cmd cmd_focus; sway_cmd cmd_focus_follows_mouse; -sway_cmd cmd_raise_floating; sway_cmd cmd_focus_on_window_activation; sway_cmd cmd_focus_wrapping; sway_cmd cmd_font; 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 { // Flags bool focus_follows_mouse; - bool raise_floating; enum mouse_warping_mode mouse_warping; enum focus_wrapping_mode focus_wrapping; bool active; -- cgit v1.2.3-54-g00ecf