[PATCH 2/2] xdg-shell: Fold several client-side decoration requests into a generic request

2016-12-09 Thread Adam Goode
ement policy to be implemented in the compositor directly. This centralizes more policy in compositors, reducing policy duplication from client toolkits and allowing for more standard surface management behavior across them. Signed-off-by: Adam Goode <ago...@google.com> --- COPYING

[PATCH 0/2] xdg-shell: Proposal to be more generic for decorations

2016-12-09 Thread Adam Goode
lets more window management logic move into the compositor. Comments welcome. I know this is a tricky issue, but I hope this is leading somewhat in the right direction. Adam Adam Goode (2): xdg-shell: Introduce protocol v7 xdg-shell: Fold several client-side decoration requests into

[PATCH 1/2] xdg-shell: Introduce protocol v7

2016-12-09 Thread Adam Goode
There are no changes in this from v6 to v7, that will come next. Signed-off-by: Adam Goode <ago...@google.com> --- unstable/xdg-shell/xdg-shell-unstable-v7.xml | 1041 ++ 1 file changed, 1041 insertions(+) create mode 100644 unstable/xdg-shell/xdg-shell-unstable-

Re: [PATCH 0/2] xdg-shell: Proposal to be more generic for decorations

2016-12-11 Thread Adam Goode
ient calling out to the compositor to handle a click on the titlebar where there isn't a client widget. Adam > On Fri, Dec 9, 2016 at 2:20 PM, Adam Goode <ago...@google.com> wrote: > >> Hi, >> >> There were many different opinions and suggestions for how to al

Re: Proposal to add 'raise' and 'lower' to xdg-shell in wayland-protocols

2016-12-01 Thread Adam Goode
On Thu, Dec 1, 2016 at 12:56 AM, Jonas Ã…dahl <jad...@gmail.com> wrote: > On Wed, Nov 30, 2016 at 12:04:33PM -0500, Adam Goode wrote: > > Hi, > > > > See https://bugzilla.redhat.com/show_bug.cgi?id=1349225 and > > https://bugzilla.gnome.org/show_bug.cgi?id=7679

Re: Proposal to add 'raise' and 'lower' to xdg-shell in wayland-protocols

2016-12-19 Thread Adam Goode
Hi, Version 2 of the original patch is here (wayland-protocols): https://patchwork.freedesktop.org/series/16642/ Weston implementation (in progress): https://patchwork.freedesktop.org/series/17007/ Comments welcome! Adam On Mon, Dec 12, 2016 at 9:11 AM, Adam Goode <ago...@google.com>

[PATCH v2 2/2] xdg-shell: Fold several client-side decoration requests into a generic request

2016-12-19 Thread Adam Goode
ement policy to be implemented in the compositor directly. This centralizes more policy in compositors, reducing policy duplication from client toolkits and allowing for more standard surface management behavior across them. Signed-off-by: Adam Goode <ago...@google.com> --- COPYING

[PATCH v2 0/2] xdg-shell: Proposal to be more generic for decorations

2016-12-19 Thread Adam Goode
ssible way forward. It removes some of the semantic requests in xdg-shell and replaces it with a "interact_with_decoration" request that lets more window management logic move into the compositor. Adam Goode (2): xdg-shell: Introduce protocol v7 xdg-shell: Fold several client-side

[PATCH 1/2] libweston-desktop: Update weston-desktop to use unstable xdg-shell v7

2016-12-19 Thread Adam Goode
This updated protocol allows compositors to have a richer set of actions in response to user initiated events, but requires compositors to implement the bindings for what was previously move, resize, and show_window_menu. Signed-off-by: Adam Goode <ago...@google.com> --- C

[PATCH 0/2] weston: Update weston server and clients to xdg-shell v7

2016-12-19 Thread Adam Goode
centralizes decoration bindings into the compositor, reducing variation between clients. TODOs: - implement decoration actions as some kind of binding - implement double-click/double-touch handler for toggle-maximize - implement middle-click titlebar to lower as an example binding Adam Goode (2

[PATCH 2/2] clients: Update weston clients to use unstable xdg-shell v7

2016-12-19 Thread Adam Goode
, resize, and show_window_menu and new actions (like lower) could not be implemented. Signed-off-by: Adam Goode <ago...@google.com> --- Makefile.am| 32 +++ clients/flower.c | 9 +- clients/fullscreen.c | 10 ++- clients/scaler.c

[PATCH v2 1/2] xdg-shell: Introduce protocol v7

2016-12-19 Thread Adam Goode
There are no changes in this from v6 to v7, that will come next. Signed-off-by: Adam Goode <ago...@google.com> --- Makefile.am |1 + unstable/xdg-shell/xdg-shell-unstable-v7.xml | 1041 ++ 2 files changed, 1042 insertions(+)