Overall, I like the idea - it seems to solve the issues with raise/lower, etc.
I wonder, though, if removing the explicit move/resize/etc. requests makes it too restrictive. Suppose that, for whatever reason, the client wants to trigger a move or a resize using the right or middle button. Maybe it's a weirdly-shaped surface (like weston-flower) where all of it is draggable, or some other strange case. As far as I can tell, it's possible in v6, but not v7. Another, more real use case: nautilus has a bunch of buttons in the titlebar. If you click them, they work as usual - but dragging a button triggers a shell move. That means, at the time the client receives a mouse down event, it doesn't know yet what it should do. Once it gets a mouse move, it sends a shell move request. Would that still be possible in v7? On Fri, Dec 9, 2016 at 2:20 PM, Adam Goode <[email protected]> wrote: > Hi, > > There were many different opinions and suggestions for how to allow > for raise and lower to be bound to mouse clicks in titlebars. This > is one possible 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. > > 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 a generic > request > > COPYING | 1 + > unstable/xdg-shell/xdg-shell-unstable-v7.xml | 1012 > ++++++++++++++++++++++++++ > 2 files changed, 1013 insertions(+) > create mode 100644 unstable/xdg-shell/xdg-shell-unstable-v7.xml > > -- > 2.8.0.rc3.226.g39d4020 > > _______________________________________________ > wayland-devel mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/wayland-devel >
_______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
