window: Add window_get_output_scale()
authorAlexander Larsson <alexl@redhat.com>
Wed, 22 May 2013 12:41:33 +0000 (14:41 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 22 May 2013 20:18:52 +0000 (16:18 -0400)
commitd68f523f308f0966a9ccf0adeba1bd6f78ace3cd
treec0924a0c3d46aaf717ca6a516c8fbafc6366e991
parentc584fa60d45b333ab7f2c1d34e75994d58d1f7f8
window: Add window_get_output_scale()

This lets you find the maximal scale for all the outputs a window
is on, which is useful for picking a buffer_scale.
clients/window.c
clients/window.h