aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-10-23 10:48:09 -0400
committerDrew DeVault <sir@cmpwn.com>2015-10-23 10:48:09 -0400
commitc0f4a17c2a5810a012449d06e2ad242c75727b61 (patch)
tree857071bb0f3fe2795eacac82071123bfda1a750b /include
parent988a0bd67e02755308b478d369a3825c712a842e (diff)
parentc1479701dea79aebd2b5fdd83a9b28435f6647fe (diff)
Merge pull request #202 from sce/seamless_mouse_adjustments
Seamless mouse adjustments
Diffstat (limited to 'include')
-rw-r--r--include/focus.h4
-rw-r--r--include/workspace.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/focus.h b/include/focus.h
index 1ab63a6c..10d5182b 100644
--- a/include/focus.h
+++ b/include/focus.h
@@ -21,8 +21,8 @@ swayc_t *get_focused_container(swayc_t *parent);
swayc_t *get_focused_view(swayc_t *parent);
swayc_t *get_focused_float(swayc_t *ws);
-void set_focused_container(swayc_t *container);
-void set_focused_container_for(swayc_t *ancestor, swayc_t *container);
+bool set_focused_container(swayc_t *container);
+bool 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
diff --git a/include/workspace.h b/include/workspace.h
index 7343b055..b916f715 100644
--- a/include/workspace.h
+++ b/include/workspace.h
@@ -10,7 +10,7 @@ extern char *prev_workspace_name;
char *workspace_next_name(void);
swayc_t *workspace_create(const char*);
swayc_t *workspace_by_name(const char*);
-void workspace_switch(swayc_t*);
+bool workspace_switch(swayc_t*);
swayc_t *workspace_output_next();
swayc_t *workspace_next();
swayc_t *workspace_output_prev();