[PATCH weston 0/3] Clean up window placement and move constraining

Derek Foreman derekf at osg.samsung.com
Wed Apr 15 10:23:53 PDT 2015


If we give an output a non-zero Y co-ordinate, window placement starts
putting things off screen due to a bug in get_output_panel_size().
Constraints still work due to a symmetrical bug in constrain_position().

This should straighten things out a little bit.

Derek Foreman (3):
  desktop-shell: add output co-ordinates to get_output_work_area()
  desktop-shell: use output position in get_output_panel_size()
  desktop-shell: use work area instead of panel size to constrain moves

 desktop-shell/shell.c | 52 +++++++++++++++++++++++++--------------------------
 1 file changed, 25 insertions(+), 27 deletions(-)

-- 
2.1.4



More information about the wayland-devel mailing list