aboutsummaryrefslogtreecommitdiff
path: root/include/focus.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-18 07:19:20 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-18 07:20:34 -0400
commit2139001c9f61a84ed1ac581a54bb2bde68928afd (patch)
treea6efb486fdb71675775253d79e9550b5fc1d2f67 /include/focus.h
parentaf1b3d97550c749de4e71f50784dc17f1a31c135 (diff)
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.h16
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 {
MOVE_PARENT
};
-//focused_container - the container found by following the `focused` pointer
-//from a given container to a container with `is_focused` boolean set
-//---
-//focused_view - the container found by following the `focused` pointer from a
-//given container to a view.
-//---
+// focused_container - the container found by following the `focused` pointer
+// from a given container to a container with `is_focused` boolean set
+// ---
+// focused_view - the container found by following the `focused` pointer from a
+// given container to a view.
+// ---
swayc_t *get_focused_container(swayc_t *parent);
swayc_t *get_focused_view(swayc_t *parent);
@@ -23,8 +23,8 @@ swayc_t *get_focused_view(swayc_t *parent);
void set_focused_container(swayc_t *container);
void set_focused_container_for(swayc_t *ancestor, swayc_t *container);
-//lock focused container/view. locked by windows with OVERRIDE attribute
-//and unlocked when they are destroyed
+// lock focused container/view. locked by windows with OVERRIDE attribute
+// and unlocked when they are destroyed
extern bool locked_container_focus;
extern bool locked_view_focus;