aboutsummaryrefslogtreecommitdiff
path: root/include/focus.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-08-18 07:19:20 -0400
committerFurkan Sahin <furkan-dev@proton.me>2015-08-18 07:19:20 -0400
commit37186e1cd39a6796983b4d0915ffe481fc37826a (patch)
treea6efb486fdb71675775253d79e9550b5fc1d2f67 /include/focus.h
parentb87b0eb71b011023e5948d7cac4967ad699d9ee5 (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;