diff options
author | emersion <contact@emersion.fr> | 2018-04-04 22:01:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 22:01:00 -0400 |
commit | 5a646221815f6793f844412b82b185b415b32157 (patch) | |
tree | 490f5c672ea2362b1b4cf4e34e13232df0502270 /include | |
parent | Merge pull request #1705 from swaywm/swaylock-layers (diff) | |
parent | Implement opacity command (diff) | |
download | sway-5a646221815f6793f844412b82b185b415b32157.tar.gz sway-5a646221815f6793f844412b82b185b415b32157.tar.zst sway-5a646221815f6793f844412b82b185b415b32157.zip |
Merge pull request #1707 from acrisci/transparency
Implement opacity command
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/tree/container.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index 66f097ea..edb5a213 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -123,6 +123,7 @@ sway_cmd cmd_mark; | |||
123 | sway_cmd cmd_mode; | 123 | sway_cmd cmd_mode; |
124 | sway_cmd cmd_mouse_warping; | 124 | sway_cmd cmd_mouse_warping; |
125 | sway_cmd cmd_move; | 125 | sway_cmd cmd_move; |
126 | sway_cmd cmd_opacity; | ||
126 | sway_cmd cmd_new_float; | 127 | sway_cmd cmd_new_float; |
127 | sway_cmd cmd_new_window; | 128 | sway_cmd cmd_new_window; |
128 | sway_cmd cmd_no_focus; | 129 | sway_cmd cmd_no_focus; |
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 277165ea..3a3a9429 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -83,6 +83,8 @@ struct sway_container { | |||
83 | 83 | ||
84 | list_t *marks; // list of char* | 84 | list_t *marks; // list of char* |
85 | 85 | ||
86 | float alpha; | ||
87 | |||
86 | struct { | 88 | struct { |
87 | struct wl_signal destroy; | 89 | struct wl_signal destroy; |
88 | // Raised after the tree updates, but before arrange_windows | 90 | // Raised after the tree updates, but before arrange_windows |