← Back to team overview

touch-packages team mailing list archive

[Bug 1420573] Re: [enhancement] Missing client function for surface resizing

 

** Project changed: xmir => xorg-server (Ubuntu)

** Tags added: xmir

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1420573

Title:
  [enhancement] Missing client function for surface resizing

Status in Mir:
  Fix Released
Status in mir package in Ubuntu:
  Fix Released
Status in xorg-server package in Ubuntu:
  Confirmed

Bug description:
  Missing client API for client-initiated interactive resizing (eg: drag
  on the client-drawn resize handles)

  Actually there are two types of client initiated resizing we need to
  support:

  (a) Client specifies new width and height (e.g. video player loaded new file or System Settings switched panel).
  (b) Edge resizing for client-drawn decorations (which is closely related to bug 1420334).

  (a) Would be something like:
     mir_surface_resize(surface, width, height);

  (b) Could be something like:
     mir_surface_move_resize(surface, delta_top, delta_bottom, delta_left, delta_right);
  which would solve bug 1420334 also, as you can then say:

  void mir_surface_move_by(MirSurface *s, int dx, int dy)
  {
      mir_surface_move_resize(s, dy, dy, dx, dx);
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1420573/+subscriptions