diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-08-18 07:19:20 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-08-18 07:20:34 -0400 |
commit | 2139001c9f61a84ed1ac581a54bb2bde68928afd (patch) | |
tree | a6efb486fdb71675775253d79e9550b5fc1d2f67 /include/focus.h | |
parent | fixed floating window crashing bug (diff) | |
download | sway-2139001c9f61a84ed1ac581a54bb2bde68928afd.tar.gz sway-2139001c9f61a84ed1ac581a54bb2bde68928afd.tar.zst sway-2139001c9f61a84ed1ac581a54bb2bde68928afd.zip |
Coding style enforcement
This was done by hand, so I might have missed things. If anyone knows of
a good C style enforcement tool, let me know.
Diffstat (limited to 'include/focus.h')
-rw-r--r-- | include/focus.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/focus.h b/include/focus.h index 185910f3..410ed134 100644 --- a/include/focus.h +++ b/include/focus.h | |||
@@ -10,12 +10,12 @@ enum movement_direction { | |||
10 | MOVE_PARENT | 10 | MOVE_PARENT |
11 | }; | 11 | }; |
12 | 12 | ||
13 | //focused_container - the container found by following the `focused` pointer | 13 | // focused_container - the container found by following the `focused` pointer |
14 | //from a given container to a container with `is_focused` boolean set | 14 | // from a given container to a container with `is_focused` boolean set |
15 | //--- | 15 | // --- |
16 | //focused_view - the container found by following the `focused` pointer from a | 16 | // focused_view - the container found by following the `focused` pointer from a |
17 | //given container to a view. | 17 | // given container to a view. |
18 | //--- | 18 | // --- |
19 | 19 | ||
20 | swayc_t *get_focused_container(swayc_t *parent); | 20 | 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); |
@@ -23,8 +23,8 @@ swayc_t *get_focused_view(swayc_t *parent); | |||
23 | void set_focused_container(swayc_t *container); | 23 | void set_focused_container(swayc_t *container); |
24 | void set_focused_container_for(swayc_t *ancestor, swayc_t *container); | 24 | void set_focused_container_for(swayc_t *ancestor, swayc_t *container); |
25 | 25 | ||
26 | //lock focused container/view. locked by windows with OVERRIDE attribute | 26 | // lock focused container/view. locked by windows with OVERRIDE attribute |
27 | //and unlocked when they are destroyed | 27 | // and unlocked when they are destroyed |
28 | 28 | ||
29 | extern bool locked_container_focus; | 29 | extern bool locked_container_focus; |
30 | extern bool locked_view_focus; | 30 | extern bool locked_view_focus; |