diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-03 21:21:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 21:21:25 +0200 |
commit | 7fdc557f1e16f14dea080714b3a261daf8f4634e (patch) | |
tree | 2564be2f236c91052227bf2cdf322d620caa18b4 /include/sway | |
parent | 01b8e171b8dd2dbdda1b1a652c39022602cd9dfb (diff) | |
parent | 426c33f4dc2515867a0d3b04cb865d5cad091d10 (diff) |
Merge pull request #2709 from BuJo/feature/raise_floating
raise floating
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/config.h | 1 | ||||
-rw-r--r-- | include/sway/input/cursor.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index 64f707f4..f7fafb96 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h @@ -125,6 +125,7 @@ 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 98a18b76..02ace979 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -359,6 +359,7 @@ struct sway_config { // Flags bool focus_follows_mouse; + bool raise_floating; bool mouse_warping; enum focus_wrapping_mode focus_wrapping; bool active; diff --git a/include/sway/input/cursor.h b/include/sway/input/cursor.h index 7ec45120..4d47ab42 100644 --- a/include/sway/input/cursor.h +++ b/include/sway/input/cursor.h @@ -10,6 +10,7 @@ struct sway_cursor { struct wlr_cursor *cursor; struct { double x, y; + struct sway_node *node; } previous; struct wlr_xcursor_manager *xcursor_manager; |