Window manager's best friend in a gem.