From 0774936a6f27523e5a095eb343b32d49c24ca3c0 Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Sun, 5 Jun 2011 14:09:29 +0200 Subject: [PATCH] Split: Illustrate split_move func --- src/split.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/split.c b/src/split.c index 35f8ba7..d0ded71 100644 --- a/src/split.c +++ b/src/split.c @@ -334,7 +334,14 @@ split_client_integrate(Client *c, Client *sc, int screen, int tag) } /** Move splitted client by re-arranging it in next by direction client -*/ + * Integrate c in next client by direction + * Example case, direction = left: + * ___________ ___________ + * | | B | -> | A | | + * | A |_____| -> |_____| B | + * | |< C | -> | C |v v v| + * |_____|_____| -> |_____|_____| + */ void split_move_dir(Client *c, Position p) {