Arrange after toggle_floating

This commit is contained in:
Bastien Dejean 2013-06-08 13:11:22 +02:00
parent 1516b9dc0e
commit ad44ed1565

View file

@ -131,6 +131,7 @@ void process_message(char *msg, char *rsp)
toggle_fullscreen(mon, mon->desk, mon->desk->focus); toggle_fullscreen(mon, mon->desk, mon->desk->focus);
} else if (strcmp(cmd, "toggle_floating") == 0) { } else if (strcmp(cmd, "toggle_floating") == 0) {
toggle_floating(mon->desk, mon->desk->focus); toggle_floating(mon->desk, mon->desk->focus);
arrange(mon, mon->desk);
} else if (strcmp(cmd, "toggle_locked") == 0) { } else if (strcmp(cmd, "toggle_locked") == 0) {
if (mon->desk->focus != NULL) if (mon->desk->focus != NULL)
toggle_locked(mon, mon->desk, mon->desk->focus); toggle_locked(mon, mon->desk, mon->desk->focus);