xdg-shell: fix maximizing in multi-head setup
authorMarek Chalupa <mchqwerty@gmail.com>
Mon, 1 Sep 2014 15:20:33 +0000 (17:20 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 10 Sep 2014 13:33:13 +0000 (16:33 +0300)
commit8b771af9869442d4f4f5437e7ae3f6d3e9367b78
tree5fd1f2e12b471f73c96a502f39073d1b72cf08d0
parentbfbb64bb75e8c61b1d8580ab688e494663feb4d0
xdg-shell: fix maximizing in multi-head setup

Set the right position of maximized window. Up until now we ignored
output's "position" and were using only the working area
of output which is in output-relative coordinates. This led to
showing the maximized window always on the first output.

This, along with the previous patch, fixes
https://bugs.freedesktop.org/show_bug.cgi?id=82967

Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
desktop-shell/shell.c