aboutsummaryrefslogtreecommitdiff
path: root/include/focus.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-07-03 12:11:21 -0500
committerFurkan Sahin <furkan-dev@proton.me>2016-07-03 12:11:21 -0500
commit3289ea4df8fec71f1734eab090ae7e52ba21bcd5 (patch)
treeb053d7c2e9cc7651991aea1254a6f1f5232aea7c /include/focus.h
parent3a295cfce4e1be1eb9e80ffd26b85df7a666be9b (diff)
resize command updates (#713)
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..9a8458fd 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 floating 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);