← Back to team overview

desktop-packages team mailing list archive

[Bug 1420573] [NEW] [enhancement] Missing client function for surface resizing

 

You have been subscribed to a public bug:

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);
}

** Affects: mir
     Importance: Medium
     Assignee: Alan Griffiths (alan-griffiths)
         Status: Fix Released

** Affects: xorg-server (Ubuntu)
     Importance: Wishlist
         Status: Confirmed

** Affects: mir (Ubuntu)
     Importance: Undecided
         Status: Fix Released


** Tags: clientapi enhancement
-- 
[enhancement] Missing client function for surface resizing
https://bugs.launchpad.net/bugs/1420573
You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu.