diff options
author | 2016-07-03 21:53:28 -0400 | |
---|---|---|
committer | 2016-07-03 21:53:28 -0400 | |
commit | b658b464ece28a21017e39f383bb4487a40816f9 (patch) | |
tree | 71f4098558a28738e81ed7f71137da889c24c808 /include/focus.h | |
parent | Spawn windows as floating if they have a parent (diff) | |
parent | typo in focus.h (diff) | |
download | sway-b658b464ece28a21017e39f383bb4487a40816f9.tar.gz sway-b658b464ece28a21017e39f383bb4487a40816f9.tar.zst sway-b658b464ece28a21017e39f383bb4487a40816f9.zip |
Merge pull request #732 from zandrmartin/set-size-command
Set size command
Diffstat (limited to 'include/focus.h')
-rw-r--r-- | include/focus.h | 4 |
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); | |||
21 | swayc_t *get_focused_view(swayc_t *parent); | 21 | swayc_t *get_focused_view(swayc_t *parent); |
22 | swayc_t *get_focused_float(swayc_t *ws); | 22 | swayc_t *get_focused_float(swayc_t *ws); |
23 | 23 | ||
24 | // a special-case function to get the focused view, regardless | ||
25 | // of whether it's tiled or floating | ||
26 | swayc_t *get_focused_view_include_floating(swayc_t *parent); | ||
27 | |||
24 | bool set_focused_container(swayc_t *container); | 28 | bool set_focused_container(swayc_t *container); |
25 | bool set_focused_container_for(swayc_t *ancestor, swayc_t *container); | 29 | bool set_focused_container_for(swayc_t *ancestor, swayc_t *container); |
26 | 30 | ||