re-add fullscreen mode

This commit is contained in:
Michael Stapelberg
2010-04-13 20:51:43 +02:00
parent a3e0ce53a9
commit 24725cd94a
6 changed files with 65 additions and 31 deletions

View File

@ -89,8 +89,11 @@ void parse_command(const char *command) {
workspace_show(command + strlen("workspace "));
else if (strcasecmp(command, "stack") == 0) {
focused->layout = L_STACKED;
x_push_changes(croot);
}
else if (strcasecmp(command, "fullscreen") == 0) {
if (focused->fullscreen_mode == CF_NONE)
focused->fullscreen_mode = CF_OUTPUT;
else focused->fullscreen_mode = CF_NONE;
}
else if (strcasecmp(command, "move before h") == 0)
tree_move('p', HORIZ);