aboutsummaryrefslogtreecommitdiff
path: root/include/focus.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-07-03 21:53:28 -0400
committerGitHub <noreply@github.com>2016-07-03 21:53:28 -0400
commitb658b464ece28a21017e39f383bb4487a40816f9 (patch)
tree71f4098558a28738e81ed7f71137da889c24c808 /include/focus.h
parent7144fb9fc3b3d3b45d23deaab6a10caf3216cca4 (diff)
parenta7b94f1324a1f9b19aad5ebde15d8d3c4693b980 (diff)
Merge pull request #732 from zandrmartin/set-size-command
Set size command
Diffstat (limited to 'include/focus.h')
-rw-r--r--include/focus.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/focus.h b/include/focus.h
index 10d5182b..4abd6080 100644
--- a/include/focus.h
+++ b/include/focus.h
@@ -21,6 +21,10 @@ swayc_t *get_focused_container(swayc_t *parent);
swayc_t *get_focused_view(swayc_t *parent);
swayc_t *get_focused_float(swayc_t *ws);
+// a special-case function to get the focused view, regardless
+// of whether it's tiled or floating
+swayc_t *get_focused_view_include_floating(swayc_t *parent);
+
bool set_focused_container(swayc_t *container);
bool set_focused_container_for(swayc_t *ancestor, swayc_t *container);