]> git.sur5r.net Git - i3/i3/blobdiff - src/workspace.c
Preserve back_and_forth during restart
[i3/i3] / src / workspace.c
index f95073c9f911b7bcfef17375071cb9d3726f4dc8..2af88d73de1f915d67717c530a9331393c1e3274 100644 (file)
 #include "all.h"
 #include "yajl_utils.h"
 
-/* Stores a copy of the name of the last used workspace for the workspace
- * back-and-forth switching. */
-static char *previous_workspace_name = NULL;
+/*
+ * Stores a copy of the name of the last used workspace for the workspace
+ * back-and-forth switching.
+ *
+ */
+char *previous_workspace_name = NULL;
 
 /* NULL-terminated list of workspace names (in order) extracted from
  * keybindings. */