Thanks a lot for making a such good script, and I really appreciate it!
But I found a little a bug just now, that is there is some space left after using wmctl to toggle the window fullscreen on and off. I got a screenshot here[1].
I also found a way to solve the problem by comparing the script with the original "tabbed". It's really easy: just add back the the function "on_resize_all_window"
So, could you please fix the problem? thx~ :P
[1]http://imgbin.org/index.php?page=image&id=17804