Skip to content
  1. Jul 09, 2018
  2. Jul 06, 2018
  3. Jul 05, 2018
    • Pekka Paalanen's avatar
      libweston: fix output reflow on removal · 9711fd98
      Pekka Paalanen authored
      
      
      This is regression apparently introduced in
      0de859ed, which accidentally swapped the
      sign of 'delta_width' in the original call site. If one removes an
      output, the remaining outputs on the right are getting moved even
      further to the right.
      
      The outputs to the right should be moved to the left instead, to close
      the gap left by the removed output.
      
      Reported-by: default avatarTomasz Olszak <olszak.tomasz@gmail.com>
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-by: default avatarIan Ray <ian.ray@ge.com>
      9711fd98
    • Pekka Paalanen's avatar
      desktop-shell: fix output removal for background/panel · 82dd54d9
      Pekka Paalanen authored
      
      
      When the compositor has multiple outputs (not clones) and one of them is
      removed, the ones remaining to the right will be moved to close the gap.
      Because reflowing the remaining outputs happens before removing the
      wl_output global, we get the new output x,y before the removal. This
      causes us to consider the remaining output immediately to the right of
      the removed output to be a clone of the removed output whose x,y don't
      get updated. That will then hit the two assertions this patch removes.
      
      The reason the assertions were not actually hit is because of a
      compositor bug which moved the remaining outputs in the wrong direction.
      The next patch will fix the reflow, so we need this patch first to avoid
      the asserts.
      
      Remove the assertions and hand over the background and panel if the
      "clone" does not already have them. If the clone already has them, we
      destroy the unnecessary background and panel.
      
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Reviewed-by: default avatarMarius Vlad <marius-cristian.vlad@nxp.com>
      82dd54d9
  4. Jul 03, 2018
  5. Jul 02, 2018
Loading