mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
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.
This commit is contained in:
parent
75ea19c71b
commit
b9b1b0e566
8 changed files with 4 additions and 42 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue