This shouldn't really be part of the windowmanager code. Pulling it out now, so that we can reuse in RNA when switching display modes, (and perhaps other places later)
This shouldn't really be part of the windowmanager code. Pulling it out now, so that we can reuse in RNA when switching display modes, (and perhaps other places later)