[PATCH wayland-protocols v3 01/17] Add xdg-shell to stable/

2017-11-15 Thread Jonas Ådahl
Add a copy of xdg-shell unstable v6 to stable/xdg-shell/xdg-shell.xml. Folliwing this commit, it will go through a set of changes, before being declared stable. Signed-off-by: Jonas Ådahl --- stable/xdg-shell/README|5 + stable/xdg-shell/xdg-shell.xml | 1044

[PATCH wayland-protocols v3 05/17] xdg-shell/positioner: Allow empty anchor_rect

2017-11-15 Thread Jonas Ådahl
Allow setting an empty anchor rectangle, so that one can map a popup against a coordinate, not a pixel. Signed-off-by: Jonas Ådahl Reviewed-By: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/xdg-shell/xdg

[PATCH wayland-protocols v3 00/17] Declaring xdg-shell stable, take 3

2017-11-15 Thread Jonas Ådahl
d and land this and make a wayland-protocols release with xdg-shell as stable, which means that no further backward incompatible changes can be made. Jonas David Edmundson (1): xdg-shell/positioner: Replace edge bitfield with extended enum Jonas Ådahl (15): Add xdg-shell to stable/ xd

[PATCH wayland-protocols v3 04/17] xdg-shell: Reword the xdg_wm_base introduction

2017-11-15 Thread Jonas Ådahl
qually suitable for stacking, tiling and potentially other styles as well. Signed-off-by: Jonas Ådahl Reviewed-By: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shel

[PATCH wayland-protocols v3 06/17] xdg-shell: Replace 'monitor' with 'output'

2017-11-15 Thread Jonas Ådahl
There is no such thing as 'monitor' in Wayland, only outputs. Signed-off-by: Jonas Ådahl Reviewed-By: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg

[PATCH wayland-protocols v3 03/17] xdg-shell: Update copyright notices

2017-11-15 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl Acked-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index da8d6d4..ec70073 100644 --- a/stable/xdg-shell/xdg-shell.xml +++ b/stable/xdg

[PATCH wayland-protocols v3 08/17] xdg-shell/toplevel: Clarify xdg_toplevel.set_parent(null)

2017-11-15 Thread Jonas Ådahl
Setting a null-surface as a toplevel parent should unset the parent-child relationship. This was not specified, so lets do that. Signed-off-by: Jonas Ådahl Signed-off-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 4 1 file changed, 4 insertions(+) diff --git a/stable/xdg

[PATCH wayland-protocols v3 02/17] xdg-shell: Rename interfaces

2017-11-15 Thread Jonas Ådahl
en exposed as globals via the registry. Signed-off-by: Jonas Ådahl Reviewed-By: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 44 +- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg

[PATCH wayland-protocols v3 07/17] xdg-shell/surface: Add note about window position and geometry

2017-11-15 Thread Jonas Ådahl
window as it appears on the screen if the (x,y) coordinate changes. Signed-off-by: Jonas Ådahl Reviewed-By: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 5 + 1 file changed, 5 insertions(+) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index 3d19f62

[PATCH wayland-protocols v3 10/17] xdg-shell/popup: Allow custom parent by passing null as parent

2017-11-15 Thread Jonas Ådahl
can use xdg_popup to create popup menus over windows it does not have a xdg_surface of by having a custom protocol setting up the proper parent-child relationship. Signed-off-by: Jonas Ådahl Reviewed-By: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 9 ++--- 1 file changed, 6

[PATCH wayland-protocols v3 09/17] xdg-shell/toplevel: Chain multiple parent-child relationships

2017-11-15 Thread Jonas Ådahl
borders, for example when using xdg_foreign. Signed-off-by: Jonas Ådahl Signed-off-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index b119cff

[PATCH wayland-protocols v3 12/17] xdg-shell/positioner: Replace edge bitfield with extended enum

2017-11-15 Thread Jonas Ådahl
From: David Edmundson Bitfields allowed for impossible combinations of anchor edges, such as being on the left and right edge. Use of explicit enumerations means we don't need to handle that case. Signed-off-by: David Edmundson Reviewed-by: Jonas Ådahl --- stable/xdg-shell/xdg-shell.xml

[PATCH wayland-protocols v3 16/17] xdg-shell: Clarify set_fullscreen semantics

2017-11-15 Thread Jonas Ådahl
It was not explicitly specified (as it is in set/unset_maximize) that the compositor will respond with a configure event when a client asks to be fullscreened, and the meaning of the output parameter was somewhat awkwardly described. Signed-off-by: Jonas Ådahl Reviewed-by: Mike Blumenkrantz

[PATCH wayland-protocols v3 11/17] xdg-shell: clarify map/unmap wording

2017-11-15 Thread Jonas Ådahl
From: Mike Blumenkrantz ensure that this is as precise and explicit as possible for all useful cases and also define previously-unspecified behavior Signed-off-by: Mike Blumenkrantz Reviewed-by: Jonas Ådahl --- stable/xdg-shell/xdg-shell.xml | 32 1 file

[PATCH wayland-protocols v3 13/17] xdg-shell/positioner: Clarify flip semantics with anchor offset

2017-11-15 Thread Jonas Ådahl
While there is no currently known usages of setting an anchor offset on the same axis as the 'flip' constraint action is set, it must still be specified so compositors behave the same. Signed-off-by: Jonas Ådahl --- stable/xdg-shell/xdg-shell.xml | 4 1 file changed, 4 insertion

[PATCH wayland-protocols v3 17/17] xdg-shell: Add unset_fullscreen description

2017-11-15 Thread Jonas Ådahl
The description for xdg_toplevel.unset_fullscreen was completely missing, so add it. Signed-off-by: Jonas Ådahl Reviewed-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/stable/xdg-shell/xdg

[PATCH wayland-protocols v3 14/17] xdg-shell: Fix typo

2017-11-15 Thread Jonas Ådahl
There is no configure 'request' only configure 'events'. Signed-off-by: Jonas Ådahl Reviewed-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell

[PATCH wayland-protocols v3 15/17] xdg-shell: Specify what happens when (un)maximizing while fullscreen

2017-11-15 Thread Jonas Ådahl
Specify that the maximize/unmaximize state requests only affects the state a surface will return to if it is currently fullscreen. Signed-off-by: Jonas Ådahl Reviewed-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 8 1 file changed, 8 insertions(+) diff --git a/stable/xdg

[PATCH wayland-protocols v3 18/17] xdg-shell: Soften fullscreen geometry requirements

2017-11-20 Thread Jonas Ådahl
fullscreen window geometry dimensions. Signed-off-by: Jonas Ådahl --- stable/xdg-shell/xdg-shell.xml | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index 34e3a20..dc70c7a 100644 --- a/stable

Re: soften xdg-shell fullscreen constraint on geometry

2017-11-20 Thread Jonas Ådahl
On Wed, Nov 15, 2017 at 02:30:44PM +, Arnaud Vrac wrote: > Hi all, > > Seeing Jonas effort to make xdg-shell stable, I'd like to clear something > up before this is done. > > The set_fullscreen request documentation mentions: > If the surface doesn't cover the whole output, the compositor wil

Re: [PATCH wayland-protocols v3 01/17] Add xdg-shell to stable/

2017-11-21 Thread Jonas Ådahl
On Wed, Nov 15, 2017 at 01:01:14PM +, David Edmundson wrote: > Looks good to me! > > Reviewed-by: David Edmundson Thanks, appreciated! Added tag locally so far. Jonas > ___ > wayland-devel mailing list > wayland-devel@lists.freedesktop.org > htt

Re: [PATCH wayland-protocols v3 18/17] xdg-shell: Soften fullscreen geometry requirements

2017-11-21 Thread Jonas Ådahl
On Tue, Nov 21, 2017 at 08:16:09AM +, Arnaud Vrac wrote: > On Tue, Nov 21, 2017 at 5:54 AM Jonas Ådahl wrote: > > > Having a strict requirement on clients obeying the configured window > > geometry for fullscreen toplevel surfaces might have the side effect of >

Re: [RFC wayland] protocol: Add high-resolution wl_touch timestamp event

2017-11-21 Thread Jonas Ådahl
On Tue, Nov 21, 2017 at 03:45:48PM +0200, Alexandros Frantzis wrote: > wl_touch events currently use a 32-bit timestamp with millisecond > resolution. In some cases, notably latency measurements, this resolution > is too coarse-grained to be useful. > > This protocol update adds a wl_touch.timesta

Re: Screen dimensions, top level surface positioning...

2017-11-21 Thread Jonas Ådahl
On Wed, Nov 22, 2017 at 03:43:43AM +0200, Jari Vuomajoki wrote: > Hi Jasper, > > Thank you very much for your very clear and comprehensible answer. I > understand the challenges you are addressing. > > I want to build applications that can facilitate the screen layout to the > fullest and still c

Re: [PATCH v3 wayland] client: Allow absolute paths in WAYLAND_DISPLAY

2017-11-21 Thread Jonas Ådahl
splay_connect() manpage. > * Rephased wl_display_connect() manpage changes to precisely match actual > changed behavior. > * Added mention of new absolute path behavior in wl_display_connect() > doxygen comments. > * Mentioned new absolute path interpretation of WAYLAND_DISPLAY in >

Re: [PATCH wayland-protocols v3 01/17] Add xdg-shell to stable/

2017-11-21 Thread Jonas Ådahl
On Wed, Nov 22, 2017 at 09:17:51AM +0200, Philipp Kerling wrote: > Hi, > > 2017-11-15 (水) の 19:19 +0800 に Jonas Ådahl さんは書きました: > > Add a copy of xdg-shell unstable v6 to stable/xdg-shell/xdg- > > shell.xml. > > Folliwing this commit, it will go through a set of changes

[ANNOUNCE] wayland-protocols 1.12

2017-12-01 Thread Jonas Ådahl
: Replace edge bitfield with extended enum Jonas Ådahl (18): Add xdg-shell to stable/ xdg-shell: Rename interfaces xdg-shell: Update copyright notices xdg-shell: Reword the xdg_wm_base introduction xdg-shell/positioner: Allow empty anchor_rect xdg-shell: Replace

[PATCH wayland] protocol: Add deprecation note about wl_shell

2017-12-01 Thread Jonas Ådahl
Now that xdg_shell is stable and much better defined than wl_shell we can finally deprecate wl_shell and guide users towards xdg_shell instead. Signed-off-by: Jonas Ådahl --- Eventually we can consider adding deprecation attributes the XML nodes that'll turn into compiler warnings, but th

Re: [PATCH wayland-protocols] unstable: Add input-timestamps protocol

2017-12-17 Thread Jonas Ådahl
epth review, so I just skimmed through the extension and it looks reasonable to me. Acked-by: Jonas Ådahl Jonas > --- > Makefile.am| 1 + > unstable/input-timestamps/README | 4 + > .../input-timestamps-unstable-v1.xml

Re: [PATCH wayland v4] doc: start documenting Xwayland

2017-12-18 Thread Jonas Ådahl
quot; and "disadvantage" instead of "pro" and "con" > - slight rewording on rootful mode and rootless mode paragraphs > - removed the paragraph about the lack of shell and special Wayland > protocol extensions > - removed the commented out list of ide

Re: Weston stuff: fractional HiDPI, FreeBSD, Rust

2018-01-09 Thread Jonas Ådahl
On Thu, Dec 14, 2017 at 04:07:42PM +0200, Pekka Paalanen wrote: > On Thu, 14 Dec 2017 14:20:30 +0300 > Greg V wrote: > > On Thu, 2017-12-14 at 10:21 +0200, Pekka Paalanen wrote: > > > On Thu, 14 Dec 2017 03:05:59 +0300 > > > Greg V wrote: ... snip ... > > > > > - fractional DPI scaling! >

Re: Wayland support for Global Key binding

2018-01-15 Thread Jonas Ådahl
On Sat, Jan 13, 2018 at 08:16:37PM +, Phillip White wrote: > Hey Dev's > > > I have seen a lot of people hating waylands no global key binding feature. > > > https://github.com/albertlauncher/albert/issues/309 > > > https://blog.martin-graesslin.com/blog/2015/06/global-shortcut-handling-i

Re: [PATCH wayland 2/3] scanner: Allow adding a prefix to exported symbols

2018-01-18 Thread Jonas Ådahl
> > >> On 27 July 2017 at 14:01, Pekka Paalanen wrote: > > >>> On Wed, 26 Jul 2017 16:09:32 +0100 > > >>> Emil Velikov wrote: > > >>> > > >>>> On 25 July 2017 at 10:24, Pekka Paalanen wrote: > > >>

Re: [PATCH 3/5] scanner: introduce --object-type option

2018-01-24 Thread Jonas Ådahl
On Wed, Jan 24, 2018 at 07:15:09PM +, Emil Velikov wrote: > On 24 January 2018 at 18:20, Derek Foreman wrote: > > On 2018-01-22 09:30 AM, Emil Velikov wrote: > >> > >> On 22 August 2017 at 14:02, Emil Velikov wrote: > >>> > >>> On 18 August 2017 at 13:05, Pekka Paalanen wrote: > >>> > >>

Re: [PATCH 3/5] scanner: introduce --object-type option

2018-01-25 Thread Jonas Ådahl
On Thu, Jan 25, 2018 at 05:56:45PM +, Emil Velikov wrote: > On 25 January 2018 at 02:01, Jonas Ådahl wrote: > > On Wed, Jan 24, 2018 at 07:15:09PM +, Emil Velikov wrote: > >> On 24 January 2018 at 18:20, Derek Foreman wrote: > >> > On 2018-01-2

Re: [PATCH] shm: provide actual error on mmap failed

2018-02-06 Thread Jonas Ådahl
to investigate. > > Provide the actual error message that caused mmap() to fail. > > Signed-off-by: Olivier Fourdan Reviewed-by: Jonas Ådahl > --- > src/wayland-shm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/wayland-shm.c b/src/way

[ANNOUNCE] wayland-protocols 1.13

2018-02-14 Thread Jonas Ådahl
): unstable: Add input-timestamps protocol Jonas Ådahl (1): configure.ac: Bump version to 1.13 Mike Blumenkrantz (1): xdg-shell: remove harmless typo git tag: 1.13 http://wayland.freedesktop.org/releases/wayland-protocols-1.13.tar.xz MD5: 29312149dafcd4a0e739ba94995a574d wayland

Re: Proposal: use of xdg-shell popups outside of xdg-shell

2018-03-14 Thread Jonas Ådahl
On Tue, Mar 13, 2018 at 09:29:30AM -0400, Drew DeVault wrote: > Hi there! Over at the wlroots project we're thinking about repurposing > xdg-shell popups for use in another protocol that needs popups. The > popup interface is somewhat complex and duplicating it for each protocol > that might want t

Re: [PATCH] Add Meson build system

2018-04-11 Thread Jonas Ådahl
FWIW, I did something similar, here: https://lists.freedesktop.org/archives/wayland-devel/2017-October/035399.html because I wanted to add build tests. IIRC there is some bug that I only fixed locally. Jonas On Wed, Apr 11, 2018 at 05:27:49PM +0100, Emmanuele Bassi wrote: > From: Emmanuele Bassi

Re: [PATCH] Add Meson build system

2018-04-11 Thread Jonas Ådahl
On Wed, Apr 11, 2018 at 06:04:26PM +0100, Emmanuele Bassi wrote: > Hi Jonas; > > On 11 April 2018 at 17:45, Jonas Ådahl wrote: > > > FWIW, I did something similar, here: > > https://lists.freedesktop.org/archives/wayland-devel/2017- > > October/035399.html >

Re: [PATCHv2] text-input: Add v3 of the text-input protocol

2018-04-11 Thread Jonas Ådahl
On Wed, Apr 11, 2018 at 03:03:58PM +0200, Dorota Czaplejewicz wrote: > This new protocol description is a simplification over v2. > > - All pre-edit text styling is gone. > - No events regarding input panel (OSK) state nor covered rectangle. > Compositors are still free to handle situations wher

Re: [wayland-protocols] text-input: Add v3 of the text-input protocol

2018-04-12 Thread Jonas Ådahl
On Thu, Apr 12, 2018 at 12:13:49AM +0200, Carlos Garnacho wrote: > Hi!, > > On Wed, Apr 11, 2018 at 8:52 PM, Weng Xuetian wrote: > > (forgot to reply to the list) > > > > On Wednesday, 11 April 2018 11:35:58 PDT Dorota Czaplejewicz wrote: > >> On Wed, 11 Apr 2018 11:26:22 -0700 > >> > >> Weng Xue

Re: [PATCH] xdg-shell: add enums for tiled window state to toplevel configure

2018-04-13 Thread Jonas Ådahl
ll tiling stuff obsolete. I have one comment below inline. With that fixed, this is Reviewed-by: Jonas Ådahl > > Changes since v1: added since=2 to enum members > --- > stable/xdg-shell/xdg-shell.xml | 34 +- > 1 file changed, 29 insertions(+), 5

Re: [PATCH wayland-protocols v4] unstable: add xdg-toplevel-decoration protocol

2018-04-13 Thread Jonas Ådahl
On Sat, Mar 24, 2018 at 07:08:15AM -0400, Simon Ser wrote: > This adds a new protocol to negotiate server-side rendering of window > decorations for xdg-toplevels. This allows compositors that want to draw > decorations themselves to send their preference to clients, and clients that > prefer serve

Re: [PATCHv3] Add name event to xdg-output

2018-04-13 Thread Jonas Ådahl
On Wed, Apr 11, 2018 at 08:35:34AM -0400, Drew DeVault wrote: > On 2018-04-11 9:17 AM, Philipp Kerling wrote: > > maybe I missed it at some point in the discussion (sorry if that is the > > case), but what is your use case for the "name?" What are clients > > expected to use it for? > > This is i

Re: [PATCHv3] Add name event to xdg-output

2018-04-13 Thread Jonas Ådahl
On Fri, Apr 13, 2018 at 10:05:39AM -0400, Drew DeVault wrote: > On 2018-04-13 4:02 PM, Jonas Ådahl wrote: > > > - A client using fullscreen-shell could offer the user a list of outputs > > > by name to fullscreen on > > > > I think this would need something dif

Re: [PATCH wayland-protocols v4] unstable: add xdg-toplevel-decoration protocol

2018-04-13 Thread Jonas Ådahl
On Fri, Apr 13, 2018 at 10:03:11AM -0400, Drew DeVault wrote: > On 2018-04-13 3:56 PM, Jonas Ådahl wrote: > > What is the purpose of making the compositor changing the "preferred" > > mode? If we would make the assumption that a compositor stays the same > > durin

Re: [PATCH wayland-protocols v4] unstable: add xdg-toplevel-decoration protocol

2018-04-13 Thread Jonas Ådahl
On Fri, Apr 13, 2018 at 10:48:56AM -0400, Drew DeVault wrote: > On 2018-04-13 4:35 PM, Jonas Ådahl wrote: > > Is this the consensus as well? Because if it should be possible, there > > are those things I mentioned to consider regarding capabilities. A > > potential mode co

Re: [PATCHv4] Add name event to xdg-output

2018-04-16 Thread Jonas Ådahl
On Sat, Apr 14, 2018 at 10:15:08AM -0400, Drew DeVault wrote: > Signed-off-by: Drew DeVault > Reviewed-by: Simon Ser > --- > This revision addresses Pekka's feedback, specifying that the output > name will not change over the lifetime of the xdg_output. This also > answers a question from an earl

Re: [PATCHv4] Add name event to xdg-output

2018-04-18 Thread Jonas Ådahl
Replying to both Pekka and Drew at the same time here: On Mon, Apr 16, 2018 at 11:14:51AM -0400, Drew DeVault wrote: > On 2018-04-16 2:57 PM, Jonas Ådahl wrote: > > I'd still like a bit more clarification about what to expect of this > > string. What I'm trying to avoid

Re: [PATCH wayland-protocols v4] unstable: add xdg-toplevel-decoration protocol

2018-04-18 Thread Jonas Ådahl
On Tue, Apr 17, 2018 at 05:37:48PM -0400, Simon Ser wrote: > (Re-sending the message because I forgot to reply to the list) > > On April 13, 2018 2:56 PM, Jonas Ådahl wrote: > > Another thing to consider is whether non-toplevels ever want a similar > > kind of protocol? I

Re: [PATCH wayland-protocols v4] unstable: add xdg-toplevel-decoration protocol

2018-04-18 Thread Jonas Ådahl
On Wed, Apr 18, 2018 at 07:49:12AM -0400, Simon Ser wrote: > On April 18, 2018 10:28 AM, Jonas Ådahl wrote: > > How do you imagine avoiding state transitions that don't result in > > incorrect intermediate state? If a compositor changes the preferred > > mode, does it w

Re: [PATCH wayland-protocols v4] unstable: add xdg-toplevel-decoration protocol

2018-04-18 Thread Jonas Ådahl
On Wed, Apr 18, 2018 at 11:32:09AM -0400, Simon Ser wrote: > On April 18, 2018 1:05 PM, Jonas Ådahl wrote: > > Since the issue is more of a race condition kind of issue, it might not > > be easily reproducable with a demo client, but must be solved by coming > > up with a typ

Re: [PATCHv4] Add name event to xdg-output

2018-04-18 Thread Jonas Ådahl
On Wed, Apr 18, 2018 at 03:53:31PM +0300, Pekka Paalanen wrote: > On Wed, 18 Apr 2018 08:21:29 -0400 > Drew DeVault wrote: > > > Replying to everyone. > > > > On 2018-04-18 5:32 AM, Simon Ser wrote: > > > I agree with Jonas here. Maybe we could add two fields: > > > > > > - "codename", restric

Re: [PATCHv5 wayland-protocols] Add name event to xdg-output

2018-04-24 Thread Jonas Ådahl
On Mon, Apr 23, 2018 at 11:29:52AM +0200, Drew DeVault wrote: > Signed-off-by: Drew DeVault > Reviewed-by: Simon Ser One nit inline I just spotted. With that fixed, this is Reviewed-by: Jonas Ådahl I'll wait a bit to see if anyone has any input. If not, and no v6 is sent, I ca

Re: [PATCHv6 wayland-protocols] Add name event to xdg-output

2018-04-26 Thread Jonas Ådahl
On Thu, Apr 26, 2018 at 01:20:28PM +0300, Pekka Paalanen wrote: > On Thu, 26 Apr 2018 11:46:54 +0200 > Drew DeVault wrote: > > > On 2018-04-26 10:49 AM, Pekka Paalanen wrote: > > > when someone merges this patch, please do add a commit message > > > explaining why these events are added. See > >

[ANNOUNCE] wayland-protocols 1.14

2018-05-07 Thread Jonas Ådahl
: Drew DeVault (1): xdg-output: Add name and description events Jonas Ådahl (1): configure.ac: Bump version to 1.14 Mike Blumenkrantz (1): xdg-shell: add enums for tiled window state to toplevel configure git tag: 1.14 http://wayland.freedesktop.org/releases/wayland-protocols

Re: [PATCH] Add layer-shell-unstable-v1.xml

2018-05-08 Thread Jonas Ådahl
Hi, So the purpose here is to provide a way to allow constructing a desktop environment by combining different components more or less arbitrarily. I also assume this is a newer version of the one proposed earlier[0][1][2]. As was said before, it has been a non-goal for wayland-protocols to provid

Re: Migrating Wayland & Weston to GitLab

2018-05-08 Thread Jonas Ådahl
On Mon, May 07, 2018 at 04:59:49PM +0100, Daniel Stone wrote: > Hi all, ... snip ... > > Code review > - > > [admin hat on] > > GitLab also provides code reviews through merge requests[3], which are > like GitHub's pull requests (push to a branch or separate repo, create > a re

Re: [PATCH] Add layer-shell-unstable-v1.xml

2018-05-08 Thread Jonas Ådahl
On Tue, May 08, 2018 at 08:01:25AM -0400, Drew DeVault wrote: > On 2018-05-08 11:23 AM, Jonas Ådahl wrote: > > So the purpose here is to provide a way to allow constructing a desktop > > environment by combining different components more or less arbitrarily. > > I also a

Re: [PATCH] Add layer-shell-unstable-v1.xml

2018-05-08 Thread Jonas Ådahl
On Tue, May 08, 2018 at 09:29:25AM -0400, Drew DeVault wrote: > > > I understand that it would probably be bad to take a bunch of protocols > > > that no one has any stake in, this is why I disagree with wayland-wall. > > > However, layer-shell has the backing of 5 compositor implementations > > >

Re: [PATCH wayland-protocols v5] unstable: add xdg-decoration protocol

2018-05-08 Thread Jonas Ådahl
On Tue, May 08, 2018 at 10:48:28AM -0400, Simon Ser wrote: > Hi Jonas, > > Any news about this trimmed-down version of the protocol? Looks fine to me. Are all those Reviewed-by:s also for the trimmed down version? Are going to propose a newer version or is the v5 of the patch what should end up a

Re: [PATCH wayland-protocols v5] unstable: add xdg-decoration protocol

2018-05-08 Thread Jonas Ådahl
On Tue, May 08, 2018 at 11:59:28AM -0400, Simon Ser wrote: > On May 8, 2018 4:27 PM, Jonas Ådahl wrote: > > Looks fine to me. Are all those Reviewed-by:s also for the trimmed down > > version? > > Ah, no, you're right. > > Drew DeVault, David Edmundson, Alan G

Re: libinput varlink implementation?

2018-05-11 Thread Jonas Ådahl
On Thu, May 10, 2018 at 03:07:36PM +1000, Peter Hutterer wrote: > one of the issues we have with libinput in the wayland world is that > debugging it is a bit harder than in X. There we can just run xinput > list-props and get an idea of what settings are applied to each device which > helps narrow

Re: libinput varlink implementation?

2018-05-13 Thread Jonas Ådahl
On Sun, May 13, 2018 at 05:31:30PM +1000, Peter Hutterer wrote: > On 13/5/18 01:04 , Pekka Paalanen wrote: > > On Thu, 10 May 2018 10:10:10 +0200 > > Markus Ongyerth wrote: > > > > > For the reasons stated above, I think we would be better suited with an > > > interface defined as wayland extensi

Re: [PATCH wayland-protocols v6] unstable: add xdg-decoration protocol

2018-06-15 Thread Jonas Ådahl
Hi, What about when clients change their "preference" in combination with a window state change? Lets assume the compositor prefers server side, and the current state is that the client has set the preferred state to "server_side" as well. For client driven state change: client: unset_maximize

Re: [PATCH wayland-protocols v6] unstable: add xdg-decoration protocol

2018-06-18 Thread Jonas Ådahl
On Sun, Jun 17, 2018 at 06:22:11PM -0400, Simon Ser wrote: > On June 15, 2018 5:56 PM, Jonas Ådahl wrote: > > Hi, > > Hi Jonas, > > Thanks for you feedback. > > > What about when clients change their "preference" in combination with a > > window st

Re: [PATCH wayland-protocols v7] unstable: add xdg-decoration protocol

2018-07-04 Thread Jonas Ådahl
On Wed, Jul 04, 2018 at 09:01:43AM -0400, Simon Ser wrote: > Hi Jonas, > > Any news about this? Looks good to me, I think we can go with this. What Reviewed-by:s should I add, besides my own? Jonas > > Thanks, > > Simon > > On June 27, 2018 5:23 PM, Simon Ser wrote: > > Hi Jonas, > > > > W

[ANNOUNCE] wayland-protocols 1.15

2018-07-05 Thread Jonas Ådahl
): xdg-shell: remove constraint on popup parents Jonas Ådahl (1): configure.ac: Bump version to 1.15 Maciej Wolny (1): Makefile.am: add include dir for AC_CONFIG_MACRO_DIR to work Simon Ser (1): unstable: add xdg-decoration protocol git tag: 1.15 http://wayland.freedesktop.org

Re: [PATCH wayland-protocols] xdg-output: add a transform example for the logical size

2018-07-16 Thread Jonas Ådahl
On Mon, Jul 16, 2018 at 02:45:11PM -0400, Simon Ser wrote: > Hi Jonas, > > What do you think of this patch? Thanks. Merged after shortening the line: 65cc109..3f28298 master -> master Jonas > > Thanks, > > Simon > > On July 9, 2018 3:25 PM, Olivier Fourdan wrote: > > Hi, > > > > On Mo

Re: [PATCH] protocol: allow to send a zero physical output size

2018-07-24 Thread Jonas Ådahl
nks for the ack. Olivier, Jonas, do you have opinions about this? > > FWIW, this is what Xrandr does, it makes sense to me as well, at least > from an Xwayland point of view :) Makes sense to me too, so this is Acked-by: Jonas Ådahl as well. Jonas > > Cheers, > Olivier ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH v8 wayland-protocols] text-input: Add v3 of the text-input protocol

2018-07-30 Thread Jonas Ådahl
On Sat, Jul 28, 2018 at 08:17:56PM +0200, Dorota Czaplejewicz wrote: > From: Carlos Garnacho > > This new protocol description is an evolution of v2. > > - All pre-edit text styling is gone. > - Pre-edit cursor can span characters. > - No events regarding input panel (OSK) state nor covered rect

Re: [PATCH v8 wayland-protocols] text-input: Add v3 of the text-input protocol

2018-07-30 Thread Jonas Ådahl
On Mon, Jul 30, 2018 at 12:57:52PM +0200, Dorota Czaplejewicz wrote: > On Mon, 30 Jul 2018 12:36:45 +0200 > Jonas Ådahl wrote: > > > On Sat, Jul 28, 2018 at 08:17:56PM +0200, Dorota Czaplejewicz wrote: > > > From: Carlos Garnacho > > > > > > This new

Re: [PATCH v8 wayland-protocols] text-input: Add v3 of the text-input protocol

2018-07-30 Thread Jonas Ådahl
On Mon, Jul 30, 2018 at 01:29:04PM +0200, Dorota Czaplejewicz wrote: > On Mon, 30 Jul 2018 13:09:06 +0200 > Jonas Ådahl wrote: > > > On Mon, Jul 30, 2018 at 12:57:52PM +0200, Dorota Czaplejewicz wrote: > > > On Mon, 30 Jul 2018 12:36:45 +0200 > > > Jonas Ådah

Re: [PATCH v9 wayland_protocols] text-input: Add v3 of the text-input protocol

2018-07-30 Thread Jonas Ådahl
On Mon, Jul 30, 2018 at 02:44:47PM +0200, Dorota Czaplejewicz wrote: > From: Carlos Garnacho > > This new protocol description is an evolution of v2. > > - All pre-edit text styling is gone. > - Pre-edit cursor can span characters. > - No events regarding input panel (OSK) state nor covered rect

Re: [PATCH v9 wayland_protocols] text-input: Add v3 of the text-input protocol

2018-07-30 Thread Jonas Ådahl
On Mon, Jul 30, 2018 at 03:59:48PM +0200, Dorota Czaplejewicz wrote: > On Mon, 30 Jul 2018 15:20:05 +0200 > Jonas Ådahl wrote: > > > On Mon, Jul 30, 2018 at 02:44:47PM +0200, Dorota Czaplejewicz wrote: > > > From: Carlos Garnacho > > > > > > This new

Re: [PATCH v10 wayland_protocols] text-input: Add v3 of the text-input protocol

2018-07-30 Thread Jonas Ådahl
On Mon, Jul 30, 2018 at 04:24:00PM +0200, Carlos Garnacho wrote: > Hey, > > With the serial number behavior cleared out, this all reads great to > me. Can't be part and judge though :), so no R-b label. I'll put my R-b stamp on it; I think we're good to go now! Jonas > > Cheers, > Carlos >

Re: [PATCH v10 wayland_protocols] text-input: Add v3 of the text-input protocol

2018-07-30 Thread Jonas Ådahl
On Mon, Jul 30, 2018 at 10:35:49AM -0400, Simon Ser wrote: > On July 30, 2018 3:14 PM, Dorota Czaplejewicz > wrote: > > From: Carlos Garnacho > > > > This new protocol description is an evolution of v2. > > > > - All pre-edit text styling is gone. > > - Pre-edit cursor can span characters. > > -

Re: [PATCH v10 wayland_protocols] text-input: Add v3 of the text-input protocol

2018-07-30 Thread Jonas Ådahl
On Mon, Jul 30, 2018 at 04:44:51PM +0200, Jonas Ådahl wrote: > On Mon, Jul 30, 2018 at 10:35:49AM -0400, Simon Ser wrote: > > On July 30, 2018 3:14 PM, Dorota Czaplejewicz > > wrote: > > > From: Carlos Garnacho > > > > > > This new protocol descriptio

[PATCH wayland-protocols 1/2] tests: Use public-code and private-code instead of code

2018-07-30 Thread Jonas Ådahl
The wayland-scanner sub-commands private-code and public-code replaced the old code command, so lets use those in the tests instead. Signed-off-by: Jonas Ådahl --- tests/scan.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/scan.sh b/tests/scan.sh index 15dd39f

[PATCH wayland-protocols 2/2] tests: Make wayland-scanner strict

2018-07-30 Thread Jonas Ådahl
Pass --strict to wayland-scanner in order to make it exit with failure if something wasn't correct. Signed-off-by: Jonas Ådahl --- tests/scan.sh | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/scan.sh b/tests/scan.sh index 0b1ff00..cad6887 100755 --- a/

Re: [PATCH v11 wayland_protocols] text-input: Add v3 of the text-input protocol

2018-07-30 Thread Jonas Ådahl
gt; > this version adds a short protocol description and moves some text from > text_input description there (most of it is still directly relevant to > text_input only). > > It also fixes the done argument by placing it outside the description. Thanks for the quick update.

Re: [PATCH v3 0/3] Change wording in xdg-shell stable

2018-07-30 Thread Jonas Ådahl
made the assumption that at least it'll get a new configure event if it made a request. I think the gain of not sending a event in this case doesn't give us anything worth while, as sending events that can be ignored is very cheap. So, patch 1 and 2 are Reviewed-by: Jonas Ådahl but p

[ANNOUNCE] wayland-protocols 1.16

2018-07-30 Thread Jonas Ådahl
shortlog: Carlos Garnacho (1): text-input: Add v3 of the text-input protocol Jonas Ådahl (3): tests: Use public-code and private-code instead of code tests: Make wayland-scanner strict configure.ac: Bump version to 1.16 Markus Ongyerth (2): xdg-shell: move maximized

Re: [PATCH wayland-protocols] unstable: add xdg-primary-selection protocol

2018-08-16 Thread Jonas Ådahl
On Thu, Aug 16, 2018 at 04:25:06PM +0200, Carlos Garnacho wrote: > Hi!, > > Thanks Simon for moving this forward. FTR this looks good to me. Had > some chat with Jonas on IRC about the suitability of xdg vs wp > prefixes, but I personally think your choice is fine. Either way, this > is To elabor

Re: [PATCH wayland-protocols] unstable: add xdg-primary-selection protocol

2018-08-31 Thread Jonas Ådahl
On Thu, Aug 16, 2018 at 05:22:45PM +, Simon Ser wrote: > Hi, > > Thanks for the clarification. > > On August 16, 2018 3:46 PM, Jonas Ådahl wrote: > > On Thu, Aug 16, 2018 at 04:25:06PM +0200, Carlos Garnacho wrote: > > > > > Hi!, > > > Thanks

Re: [PATCH wayland-protocols v2] unstable: add primary-selection protocol

2018-10-04 Thread Jonas Ådahl
ilar to its Wayland counterpart, and > explicitly made consistent with it. > > Signed-off-by: Simon Ser Reviewed-by: Jonas Ådahl with one minor nit below. I'd prefer to get another RB or Ack (by Carlos eg) before landing. > --- > > Changes f

[ANNOUNCE] wayland-protocols 1.17

2018-11-12 Thread Jonas Ådahl
known as "middle-click-paste". The license tag for the fullscreen shell was also corrected. Here is the shortlog: Alexandros Frantzis (1): Add zwp_linux_explicit_synchronization_v1 Johan Klokkhammer Helsing (1): fullscreen-shell: Add missing license tag Jona

Re: [PATCH wayland-protocols] unstable: add xcursor-configuration

2018-12-10 Thread Jonas Ådahl
There is an alternative more generic solution to this problem, and all other related to what XSettings did in the past. If we'd end up introducing a protocol like this, we might end up with many tiny protocols for things previously covered by XSettings. Cursor things, font things, and what not. Add

Re: [PATCH wayland-protocols] unstable: add xcursor-configuration

2018-12-10 Thread Jonas Ådahl
On Mon, Dec 10, 2018 at 02:10:30PM +, Simon Ser wrote: > On Monday, December 10, 2018 2:51 PM, Jonas Ådahl wrote: > > There is an alternative more generic solution to this problem, and all > > other related to what XSettings did in the past. If we'd end up > > introd

Re: [PATCH wayland v4] protocol: Define further the behavior of input on the presence of grabs

2019-01-17 Thread Jonas Ådahl
On Thu, Jan 17, 2019 at 05:27:44PM +0200, Pekka Paalanen wrote: > Hi all, > > I noticed that this patch did not land yet. I added to CC everyone who > commented on the v3 I believe. > > Is this still relevant? I'd say it's good clarifications, and making it possible to "leave" touch points is st

Re: [PATCH wayland-protocols] pointer-gestures: add a destroy request

2019-01-27 Thread Jonas Ådahl
IIRC you need to call the request something else (e.g. release, used in similar situations), as wayland-scanner already generated the destructor zwp_pointer_gestures_v1_destroy() which doesn't make any request but still destructs client side. When we move to the protocol to stable, we can name it

Re: [PATCH wayland-protocols v2] pointer-gestures: add a release request

2019-01-28 Thread Jonas Ådahl
sually add a + + + + +... to make it clearer what is part of a new version. With that fixed, this is Reviewed-by: Jonas Ådahl Jonas > + > + > + > + Destroy the pointer gesture object. Swipe and pinch objects created via > this > + gesture objec

Re: [PATCH v3] protocol: warn clients about some wl_output properties

2019-02-18 Thread Jonas Ådahl
be using > > frame callbacks instead. > > Thanks a lot for bumping this. Patch is: > Reviewed-by: Daniel Stone This is Reviewed-by: Jonas Ådahl too. Jonas > > Cheers, > Daniel > ___ > wayland-devel mailing lis

Re: wayland-protocols scope and governance

2019-02-21 Thread Jonas Ådahl
On Tue, Feb 19, 2019 at 04:50:27PM +, Daniel Stone wrote: > Hi all, > I'd like to open up a discussion on enlarging wayland-protocols to a > wider audience, with a better definition of what it contains. > > Currently, wayland-protocols is a relatively small set of protocols > which were either

Re: wayland-protocols scope and governance

2019-02-21 Thread Jonas Ådahl
On Thu, Feb 21, 2019 at 11:47:13AM -0500, Mike Blumenkrantz wrote: > Hello, > > On Thu, Feb 21, 2019 at 10:47 AM Daniel Stone wrote: > > > > > One of Weston's goals is to be a reference compositor. As an active > > implementation, it serves as a useful neutral ground for the rest of > > the ecos

Re: The new release manager

2019-04-12 Thread Jonas Ådahl
On Fri, Apr 12, 2019 at 11:19:35AM +0300, Pekka Paalanen wrote: > On Mon, 08 Apr 2019 22:00:31 + > Simon Ser wrote: > > > On Monday, April 8, 2019 1:02 PM, Pekka Paalanen > > wrote: > > > Hi Simon, > > > > > > I would be happy to have you. Let's see till Friday if anyone else has > > > anyt

Re: Xwayland component in bugzilla

2019-05-10 Thread Jonas Ådahl
On Fri, May 10, 2019 at 11:29:50AM +0300, Pekka Paalanen wrote: > On Thu, 09 May 2019 14:03:52 -0400 > Adam Jackson wrote: > > > The Xwayland component of the Wayland product in bugzilla is still open > > for bug entry. Does anyone actually want this? I'm happy to migrate the > > remaining open b

Re: wayland-protocols scope and governance

2019-06-17 Thread Jonas Ådahl
On Sun, May 05, 2019 at 08:41:27PM -0400, Drew DeVault wrote: > Here's an updated governance document for everyone to consider. Changes > from the first version: > > - Use wayland-devel instead of a dedicated mailing list > - Use Gitlab for reviewing new protocols > - Extend discussion period for

Re: wayland-protocols scope and governance

2019-06-18 Thread Jonas Ådahl
On Tue, Jun 18, 2019 at 07:31:47PM -0400, Drew DeVault wrote: > On Mon Jun 17, 2019 at 9:55 AM Jonas Ådahl wrote: > > > a. Namespaces are implemented in practice by prefixing each interface > > > name in a > > >protocol definition (XML) with the namespace name,

  1   2   3   4   5   6   7   8   9   10   >