aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-15 06:49:29 -0700
committerGitHub <noreply@github.com>2018-07-15 06:49:29 -0700
commit8e05fb782658f0bc13cfba6c069ba39122417317 (patch)
tree87a568ff97fc94ca82b9ceb4abacb02ea86a9f71 /include/sway/tree
parent53e3f35ba348d6285478ceb4a93b020e138c95c7 (diff)
parenta120d4c79f9406a2f7cc38c60069d3183c98ea87 (diff)
Merge pull request #2275 from RyanDwyer/transactionise-focus
Make focus part of transactions
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/container.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 11780916..04e50fc6 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -68,6 +68,9 @@ struct sway_container_state {
struct sway_container *parent;
list_t *children;
+ struct sway_container *focused_inactive_child;
+ bool focused;
+
// View properties
double view_x, view_y;
double view_width, view_height;