m2ym/popwin-el — pull request #53 by iRi-E (2012-02-01 18:03:12+00:00)
Title: Window structure corrupts in complicatedly splitted frame

I found that the function popwin:replicate-window-config() returns corrupted window tree if some nodes are splitted into more than three sub-nodes like:

+-----------------+
| | | |
| | | |
| |-----| |
| | | |
| | | |
| |-----| |
| | | |
| | | |
+-----------------+

In this case, the window structure becomes as follows:

+-----------------+
| |-----| |
| |-----| |
| |-----------|
| |-----------|
| | |
|-----------------+
| (This is a |
| popup window) |
+-----------------+

Please check my patch.