weston/desktop-shell
Marek Chalupa bfbb64bb75 xdg-shell: update shsurf->output when maximizing
shsurf->output is the output that user expects the shell surface
is on. When maximizing, we don't have any explicit setting of the output
like in the case of fullscreening, so set the output to the one that
the surface is currently on. In the case that the surface is not mapped yet,
(if it ever happens) use the same heuristics as for fullscreening.

This fixes the size sent with configure event, when maximizing a window.
The size is now picked up by the correct output, but the maximized
window position is still wrong. [Pekka Paalanen]

Bug: 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>
2014-09-10 16:26:00 +03:00
..
exposay.c compositor: keep track of the weston_layer a weston_view is in 2014-07-23 12:34:33 -07:00
input-panel.c Don't bother destroying resources after sending an error 2014-08-08 14:57:17 -07:00
shell.c xdg-shell: update shsurf->output when maximizing 2014-09-10 16:26:00 +03:00
shell.h shell: quit weston, if weston-desktop-shell dies early 2014-09-01 10:18:59 +03:00