I think there are distinct cases here:

Case 1: (easy I hope)

The client initiating a user-drag/resize is analogous to the existing
input focus request. Vis:

    void mir_window_request_user_move(MirWindow* window, MirCookie const* 
cookie);
    void mir_window_request_user_resize(MirWindow* window, MirCookie const* 
cookie);

Should be passed to the server, validated and handled by the WM policy
exactly the same as:

    void mir_window_raise(MirWindow* window, MirCookie const* cookie);

How the client decides on calling these (via a menu or not) isn't really
the issue.

This is addressed by lp:~alan-griffiths/mir/client-initiates-user-move-
and-resize/+merge/320917

Case 2:

"Always on top" would be a property of a window, the client could set
(or reset) this on the MirWindowSpec. The WM policy gets to decide
whether (and how) to respect this property.

There's currently no support for such a property in libmirserver's
SurfaceStack - so addressing that would be a pre-requisite to
introducing such a property.

Case 3: (comment #6)

If there were some generic "window manager menu" that toolkits could
request then that might be requested with a similar mechanism to case 1.
But I've not seen a requirement for this (yet).

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

Title:
  GTK window functions `Always on Top, Move and Resize' don't work in
  Mir/Unity8

Status in Canonical System Image:
  Confirmed
Status in Mir:
  In Progress
Status in MirAL:
  Triaged
Status in gtk+3.0 package in Ubuntu:
  Confirmed
Status in mir package in Ubuntu:
  Triaged
Status in qtmir package in Ubuntu:
  Confirmed
Status in unity8 package in Ubuntu:
  Confirmed

Bug description:
  ubuntu 17.04 unity8
  [unity8] Always on Top, Move and Resize doesn't work

  open solitaire, right click on the title bar (see attachement) and
  then select Always on Top. the app doesn't stay on top. same with Move
  and Resize, does nothing

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1669524/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to