1. 12 Apr, 2021 1 commit
  2. 11 Apr, 2021 7 commits
  3. 10 Apr, 2021 3 commits
  4. 09 Apr, 2021 12 commits
  5. 08 Apr, 2021 8 commits
  6. 07 Apr, 2021 5 commits
    • Matthias Clasen's avatar
      wayland: Improve font setting fallback more · cce36ae7
      Matthias Clasen authored
      We may get a response from the portal that contains
      no useful settings at all. In that case, we should
      fallback as well.
      
      Fixes: #3838
      cce36ae7
    • Matthias Clasen's avatar
      Merge branch 'wip/carlosg/stuck-frames' into 'master' · 2f0a02ee
      Matthias Clasen authored
      surface: Always set PHASE_PAINT as pending when updates are scheduled
      
      Closes #3750
      
      See merge request !3411
      2f0a02ee
    • Carlos Garnacho's avatar
      surface: Always set PHASE_PAINT as pending when updates are scheduled · 07167fdf
      Carlos Garnacho authored
      At times (most often when closing subsurfaces that are scheduling
      relayouts) the PHASE_PAINT handling gets broken with the following
      sequence:
      
      1. Surface receives wl_callback.done for the previous frame.
         Surface is thawed.
      2. A new update on the surface is scheduled. PHASE_PAINT is
         requested directly on the frame clock. priv->pending_phase is
         left unset in the surface.
      3. Surface gets frozen
      4. Frame clock processes the update scheduled at 2. The surface
         is frozen, so paint is prevented. PHASE_PAINT is considered
         handled.
      5. Compositor emits wl_callback.done again. Surface is thawed.
      6. At this point the machinery is off
         - The surface didn't paint but has pending update regions
         - priv->draw_needed is set in the toplevel and other portions
           of the widget tree
         - So queueing redraws is ineffective at eventually calling
           gdk_surface_schedule_update() again on the toplevel surface.
         - We don't paint anymore, so this broken state is not flushed
           until other subsurface changes manage to schedule the missing
           update.
      
      To fix this, always set PHASE_PAINT in priv->pending_phase when
      doing gdk_surface_schedule_update(). If the frame clock turns
      around before the surface is thawed, it will still be waiting to
      be processed the next iteration.
      
      Fixes: #3750
      07167fdf
    • Matthias Clasen's avatar
      Merge branch 'font-settings-fallback-4' into 'master' · 5710df68
      Matthias Clasen authored
      wayland: Improve font setting fallback
      
      See merge request !3407
      5710df68
    • Matthias Clasen's avatar
      wayland: Improve font setting fallback · 62f10b1b
      Matthias Clasen authored
      When we don't get stettings from the portal, the current
      fallback is 'awful fonts'. There is no need for that. Instead,
      set the fallback values to grayscale antialiasing with slight
      hinting.
      62f10b1b
  7. 06 Apr, 2021 2 commits
  8. 05 Apr, 2021 2 commits