aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2016-07-11 22:27:13 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2016-07-15 00:22:53 +0300
commitc503bf13426aa269779e81567e3b36ada56dabc1 (patch)
tree320a7d0455f6d433bbce76324ad816e29af803d4 /include
parenta2bb2801724d9404529617f1b2b300033e2a8c8b (diff)
downloadsway-c503bf13426aa269779e81567e3b36ada56dabc1.tar.xz
Suspend destruction of wss when creating views
Diffstat (limited to 'include')
-rw-r--r--include/focus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/focus.h b/include/focus.h
index 4abd6080..602b6122 100644
--- a/include/focus.h
+++ b/include/focus.h
@@ -34,6 +34,8 @@ bool set_focused_container_for(swayc_t *ancestor, swayc_t *container);
extern bool locked_container_focus;
extern bool locked_view_focus;
+// Prevents wss from being destroyed on focus switch
+extern bool suspend_workspace_cleanup;
bool move_focus(enum movement_direction direction);