How can I cycle between a stack of evenly sized windows in Openbox?

I want to have somewhat of a three dimensional desktop where the window manager appears tiled but beneath tiles are layers of evenly sized windows that I can cycle through by modifying which window is raised. I envision having one button that knows which stack it is on, based on the window that is currently focused. I only need to cycle in one direction.

I have attempted to solve the problem using tools such as wmctrl, wmutils, and xdotool but I have not gotten anything to work. I could use some help.

Go to Source
Author: Nicholas Hubbard