1. A method comprising: associating a first window from a plurality of windows with a first workspace; associating a second window from the plurality of windows with a second workspace; determining a global z-order for displaying the first window associated with the first workspace and the second window associated with the second workspace; and displaying the first window and the second window based on the global z-order.