1. 20 Jul, 2018 4 commits
  2. 19 Jul, 2018 2 commits
  3. 18 Jul, 2018 7 commits
  4. 17 Jul, 2018 1 commit
  5. 16 Jul, 2018 14 commits
  6. 13 Jul, 2018 1 commit
    • Benjamin Otte's avatar
      window: Update opaque region if background-color changes · 9008f770
      Benjamin Otte authored
      The opaque region is only set when the background color is opaque. So
      we need to do something about it when the background color changes.
      
      However, in the case where a size allocation is going to happen, we
      already do this update in size_allocate(), so in that case avoid doing
      it twice.
      9008f770
  7. 10 Jul, 2018 1 commit
  8. 09 Jul, 2018 1 commit
  9. 08 Jul, 2018 1 commit
    • Peter Bloomfield's avatar
      text-view: Do not double-allocate borders · 4b4ae446
      Peter Bloomfield authored
      Reverts part of Commit 25b67af3
      
      The 'width' part of the commit is the cause of #628: requisition->width
      is first set to priv->layout->width, which already includes
      priv->left_border + priv->right_border. It's a bit labyrinthine, but
      essentially:
      
      *  layout->width is set in update_layout_size() (gtktextlayout.c line 992)
         as the maximum line width, and
      *  the line width is set to display->width in gtk_text_layout_real_wrap()
         (gtktextlayout.c line 1183), and
      *  display->width is set to text_pixel_width + h_margin + h_padding in
         gtk_text_layout_get_line_display() (gtktextlayout.c line 2584), and
      *  h_margin + h_padding is the same as priv->left_border +
         priv->right_border.
      
      Adding it again leads to an increase in the size-request, which
      results in wider lines; rinse and repeat.
      4b4ae446
  10. 07 Jul, 2018 1 commit
  11. 03 Jul, 2018 2 commits
  12. 02 Jul, 2018 5 commits