1. 06 Jan, 2020 5 commits
  2. 05 Jan, 2020 1 commit
  3. 27 Dec, 2019 1 commit
  4. 25 Dec, 2019 2 commits
  5. 23 Dec, 2019 1 commit
    • Sebastian Keller's avatar
      clutter/stage: Fix picking of rectangles with negative positions · 674f52ba
      Sebastian Keller authored
      FLT_MIN is the smallest *positive* number above 0 that can be
      represented as floating point number. If this is used to initialize the
      maximum x/y coordinates of a rectangle, this will always be used if all
      x/y coordinates of the rectangle are negative. This means that picking
      at 0,0 will always be a hit for such rectangles.
      Since mutter creates such a window for server side decorations on X11,
      this window will always be picked at 0,0 preventing clicking/hovering
      the activities button in gnome-shell at that coordinate.
      Fixes GNOME/mutter#893
  6. 18 Dec, 2019 19 commits
  7. 13 Dec, 2019 1 commit
  8. 11 Dec, 2019 3 commits
  9. 10 Dec, 2019 1 commit
    • Jonas Ådahl's avatar
      xwayland: Don't queue frame callbacks when role assigned · 4fccc903
      Jonas Ådahl authored
      'xwayland: Do not queue frame callbacks unconditionally' changed the
      frame callback behavior of Xwayland surfaces so that they behave the
      same way as other actor surfaces (e.g. xdg-shell ones), except for the
      case when they are initially assigned.
      Remove this special casing as well including the now incorrect comment,
      so that the Xwayland surfaces behave the same as the others in this
      regard also when assigning.
  10. 09 Dec, 2019 6 commits
    • Robert Mader's avatar
      clutter-timeline: Fix some indentation · 06fa1312
      Robert Mader authored
      In Gnome Builder this looks very odd, much worse than in git.
      We'll probably not touch the code soon, so fix indentation
      for better readability.
    • Jonas Ådahl's avatar
      wayland: Let MetaWaylandXdgPopup dismiss incorrectly placed popups · 132fbf49
      Jonas Ådahl authored
      It's a xdg_popup detail, and not until the actual position is finalized
      is the actual correctness known.
    • Jonas Ådahl's avatar
      wayland/surface-role: Rename commit() vfunc apply_state() · d02c124e
      Jonas Ådahl authored
      The vfunc is not called when a surface commits its state, but when the
      state is applied. Make this clearer by changing the name to
      "apply_state" (and "pre_apply_state").
    • Jonas Ådahl's avatar
      wayland: Rework asynchronous window configuration · 554644f9
      Jonas Ådahl authored
      This changes how asynchronous window configuration works. Prior to this
      commit, it worked by MetaWindowWayland remembering the last
      configuration it sent, then when the Wayland client got back to it, it
      tried to figure out whether it was a acknowledgment of the configuration
      or not, and finish the move. This failed if the client had acknowledged
      a configuration older than the last one sent, and it had hacks to
      somewhat deal with wl_shell's lack of configuration serial numbers.
      This commits scraps that and makes the MetaWindowWayland take ownership
      of sent configurations, including generating serial numbers. The
      wl_shell implementation is changed to emulate serial numbers (assuming
      each commit acknowledges the last sent configure event). Each
      configuration sent to the client is kept around until the client one. At
      this point, the position used for that particular configuration is used
      when applying the acknowledged state, meaning cases where we have
    • Jonas Ådahl's avatar
    • Jonas Ådahl's avatar
      window: Don't constrain an acked window geometry · 4bf5b7d7
      Jonas Ådahl authored
      In Wayland, window configuration is asynchronous. Window geometry is
      constrained, the constrained geometry is sent to the client, and the
      client will adapt its surface and acknowledge the configuration. When
      acknowledged, we shouldn't reconstrain again, as that may invalidate the
      constraint calculated for the configured size.