1. 17 Jun, 2018 2 commits
  2. 15 Jun, 2018 28 commits
  3. 14 Jun, 2018 3 commits
    • Jonas Ådahl's avatar
      idle-monitor: NULL check cached InhibitedActions property variant · a3269dde
      Jonas Ådahl authored
      We might not have a cached "InhibitedActions" property available for us,
      so do as elsewhere in this file and NULL check before processing it.
      
      GNOME/mutter!130
      a3269dde
    • Daniel Stone's avatar
      renderer-native: Remove no_add_fb2 · f2dea5d1
      Daniel Stone authored
      drmModeAddFB2 allows userspace to specify a real format enum on
      non-ancient kernels, as an improvement over the legacy drmModeAddFB
      which derives format from a fixed depth/bpp mapping.
      
      As an optimisation, Weston used to decide at the first failure of
      drmModeAddFB2 that the ioctl was unavailable: as non-existent DRM
      ioctls return -EINVAL rather than -ENOSYS or similar, bad parameters are
      not distinguishable from the ioctl not being present.
      
      Mutter has also implemented the same optimisation for dumb framebuffers,
      which potentially papers over errors for the gain of avoiding one ioctl
      which will rapidly fail on ancient kernels. Remove the optimisation and
      always use AddFB2 where possible.
      
      Closes: #14
      f2dea5d1
    • Carlos Garnacho's avatar
      wayland: Detach MetaWaylandActorSurface from its actor on dispose · 36497951
      Carlos Garnacho authored
      And ensure the actor is no longer reactive even though it might live longer
      because of close effects, GCs, and whatnot. This ensures the actor is not
      eligible for pointer picking within the destruction of its surface.
      
      Closes: #188
      36497951
  4. 13 Jun, 2018 1 commit
  5. 08 Jun, 2018 2 commits
    • Carlos Garnacho's avatar
      core: Hide close dialog before destroying · 6abe4703
      Carlos Garnacho authored
      The MetaCloseDialog implementation object may stay artifically alive
      for a longer period. This was usually fine till gnome-shell commit
      b03bcc85aad, as the check_alive() timeout will keep running even
      though the window went unmanaged/destroyed, leading to crashes.
      
      In order to fix this, forcibly hide the dialog if it is visible and
      the window is being unmanaged, so the timeout is stopped in time.
      6abe4703
    • Carlos Garnacho's avatar
      wayland: Handle get_subsurface() with a role-less parent surface · 69ca5841
      Carlos Garnacho authored
      The order of role creation is undetermined, so we can't account that
      the parent surface will have a role (and an actor) at the time of
      creating the wl_subsurface role for a child surface.
      
      So we must do it both ways, add the subsurface as a child on
      get_subsurface() if the parent already got a role, and lazily add
      child subsurface actors to the current one if the parent surface got
      it at a later point.
      
      Related: #132
      69ca5841
  6. 07 Jun, 2018 4 commits