[PATCH wayland-protocols 0/3] Replace autotools with meson (+ build tests)

2017-10-11 Thread Jonas Ådahl
compile environment, so I'd appreciate if anyone depending on such system configuration to test this series out. Jonas Jonas Ådahl (3): Add meson build system support tests: Add compile tests Remove autotools build system .gitignore| 16 Makefile.am

[PATCH wayland-protocols 1/3] Add meson build system support

2017-10-11 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl <jad...@gmail.com> --- meson.build | 81 + meson_options.txt | 4 +++ tests/meson.build | 13 wayland-protocols.pc.in | 2 +- 4 files changed, 99 insertions(+), 1 deletion(-) creat

[PATCH wayland-protocols 3/3] Remove autotools build system

2017-10-11 Thread Jonas Ådahl
It has been replaced by meson. --- .gitignore | 16 Makefile.am | 43 --- configure.ac | 45 - m4/compat.m4 | 12 4 files changed, 116 deletions(-) delete mode 100644 Makefile.am

[PATCH wayland-protocols 2/3] tests: Add compile tests

2017-10-11 Thread Jonas Ådahl
Only tested by the meson build system. Signed-off-by: Jonas Ådahl <jad...@gmail.com> --- tests/build-cxx.cc.in | 12 +++ tests/build-pedantic.c.in | 10 ++ tests/meson.build | 86 +++ tests/replace.py | 23 ++

Re: [PATCH] xdg-foreign-v2: Fix various documentation issues from the API change

2017-10-11 Thread Jonas Ådahl
can then > be pushed? > > -- > Marco Martin > > On Mon, Oct 2, 2017 at 2:55 PM, Marco Martin <notm...@gmail.com> wrote: > > ping? shouldn't the 3 patches in total be pushed now? > > > > -- > > Marco Martin > > > > On Tue, Sep 26, 2017 at 3:53 PM,

[ANNOUNCE] wayland-protocols 1.11

2017-10-11 Thread Jonas Ådahl
wayland-protocols 1.11 is now available. This version includes a new unstable version of the xdg-foreign protocol. The new version fixes C++ incompatibility issues while making the interface request naming a bit more descriptive. Here is the shortlog: Jonas Ådahl (1): configure.ac: Bump

Re: [PATCH wayland-protocols v3] protocol: add compositor-debug.xml

2017-10-04 Thread Jonas Ådahl
On Tue, Oct 03, 2017 at 11:45:41AM +0300, Pekka Paalanen wrote: > On Fri, 22 Sep 2017 11:17:49 +0200 > Maniraj Devadoss wrote: > > > From: Pekka Paalanen > > > > This is a new debugging extension for non-production environments. The > > aim is to

Re: [PATCH] documentation: clarify the need for wl_surface.damage

2017-10-03 Thread Jonas Ådahl
On Tue, Oct 03, 2017 at 10:02:03AM +0300, Pekka Paalanen wrote: > On Mon, 2 Oct 2017 17:39:56 +0200 > Mahdi Khanalizadeh wrote: > > > Add an explanation for wl_surface.attach why a wl_surface.damage request > > is necessary. Explicitly declare it implementation defined

[PATCH] xdg-foreign-v2: Fix various documentation issues from the API change

2017-09-26 Thread Jonas Ådahl
It stilled referred to the removed requests, so change those places to refer to the renamed ones. While at it, also change documentation to refer directly to xdg_toplevel, as that has now been introduced. Signed-off-by: Jonas Ådahl <jad...@gmail.com> --- Hi, On Tue, Sep 26, 2017 at 03:0

Re: [PATCH wayland-protocols v2] Introduce xdg-foreign protocol

2017-09-14 Thread Jonas Ådahl
On Tue, Sep 12, 2017 at 08:44:39PM +0200, Marco Martin wrote: > On Tue, Aug 22, 2017 at 6:07 PM, Marco Martin wrote: > >> You'll need to create an "unstable v2" version, as this is a > >> non-backward compatible change. To do that, copy the XML file, changing > > > > attached a

Re: [PATCH wayland-protocols v2] Introduce xdg-foreign protocol

2017-08-20 Thread Jonas Ådahl
On Thu, Aug 17, 2017 at 05:05:35PM +0200, Marco Martin wrote: > On Thu, Aug 10, 2017 at 3:47 AM, Jonas Ådahl <jad...@gmail.com> wrote: > > > > Anyhow, "export_surface" or maybe even "export_toplevel" (as that is the > > only > > thing we

Re: [PATCH wayland-protocols v2] Introduce xdg-foreign protocol

2017-08-10 Thread Jonas Ådahl
On Thu, Aug 10, 2017 at 10:44:30AM +0200, Marco Martin wrote: > On Thu, Aug 10, 2017 at 3:47 AM, Jonas Ådahl <jad...@gmail.com> wrote: > > On Wed, Aug 09, 2017 at 01:42:51PM +0200, Marco Martin wrote: > >> On Wednesday 27 July 2016 15:54:58 Jonas Ĺdahl wrote: > >>

Re: [PATCH wayland-protocols v2] Introduce xdg-foreign protocol

2017-08-09 Thread Jonas Ådahl
On Wed, Aug 09, 2017 at 01:42:51PM +0200, Marco Martin wrote: > On Wednesday 27 July 2016 15:54:58 Jonas Ådahl wrote: > > xdg-foreign is a protocol meant to enable setting up inter surface > > relationships across clients. Potential use cases are out-of-process > > dialogs,

Re: [PATCH] libweston-desktop: add signals for title, app_id

2017-08-08 Thread Jonas Ådahl
On Tue, Aug 08, 2017 at 09:13:42AM -0500, Matt Hoosier wrote: > On Sun, Aug 6, 2017 at 11:11 PM, Jonas Ådahl <jad...@gmail.com> wrote: ... snip ... > > Okay. Well, I'm not sure how you'd like this to proceed. Are you planning > to update the spec to require that set_ti

Re: [PATCH] libweston-desktop: add signals for title, app_id

2017-08-06 Thread Jonas Ådahl
On Tue, Jul 25, 2017 at 08:07:01AM -0600, Matt Hoosier wrote: > On Tue, Jul 25, 2017 at 7:26 AM, Jonas Ådahl <jad...@gmail.com> wrote: > > > On Tue, Jul 25, 2017 at 06:42:34AM -0600, Matt Hoosier wrote: > > > I'd find it a little bit inconvenient for t

Re: [RFC PATCH wayland] protocol: add wl_pointer's axis relative physical direction

2017-08-02 Thread Jonas Ådahl
On Tue, Aug 01, 2017 at 11:35:55AM +0100, Peter Hutterer wrote: > This event adds the physical direction of the axis motion, relative to the > axis event we get. Right now, when natural scrolling is enabled things like > volume sliders move the wrong way round. > > By adding the axis motion

Re: [PATCH RFC xserver] xwayland: Add xdg-output support

2017-08-01 Thread Jonas Ådahl
On Tue, Aug 01, 2017 at 10:26:54AM +0200, Olivier Fourdan wrote: > This was added in wayland-protocols 1.10. > > Signed-off-by: Olivier Fourdan > --- > Note: This has not been tested with an actual compositor supporting > xdg-output > > configure.ac |

[ANNOUNCE] wayland-protocols 1.10

2017-07-31 Thread Jonas Ådahl
on a logical pixel grid. Here is the shortlog: Jonas Ådahl (1): configure.ac: Bump version to 1.10 Olivier Fourdan (2): Add xdg-output protocol configure.ac: force autotool to use star git tag: 1.10 http://wayland.freedesktop.org/releases/wayland-protocols-1.10.tar.xz MD5

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

2017-07-26 Thread Jonas Ådahl
On Wed, Jul 26, 2017 at 09:28:45AM +0100, Daniel Stone wrote: > Hi, > > On 25 July 2017 at 10:24, Pekka Paalanen wrote: > > recapping the discussion from IRC, we pretty much agreed that prefixing > > is not a nice solution. Jonas found out that we cannot actually prefix > >

[PATCH wayland v2 1/4] scanner: Add --visibility flag for setting symbol visibility

2017-07-26 Thread Jonas Ådahl
-by: Jonas Ådahl <jad...@gmail.com> --- Changes since v1: - Use 'extern' tag also for compiler default declarations. - "see --help" message to the warning - Added 'what visibility to choose' kind of documentation to --help Makefile.am | 10 ++--- src

[PATCH wayland v2 2/4] tests: Test static symbol visibility

2017-07-26 Thread Jonas Ådahl
Test that it is possible to inline the protocol 'code' file generated by wayland-scanner in the source code files using it. Signed-off-by: Jonas Ådahl <jad...@gmail.com> --- Changes since v1: none. .gitignore| 5 ++ Makefile.am

[PATCH wayland v2 4/4] tests/scanner-test: Add tests for visibility

2017-07-26 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl <jad...@gmail.com> --- tests/data/noexport-small-client-core.h | 195 tests/data/noexport-small-code-core.c | 61 ++ tests/data/noexport-small-server-core.h | 154 + tests/data/static-small-

[PATCH wayland v2 3/4] tests: Test compiler-default symbol visibility

2017-07-26 Thread Jonas Ådahl
Test that it is possible to not export protocol symbols. Signed-off-by: Jonas Ådahl <jad...@gmail.com> --- .gitignore | 5 ++ Makefile.am | 27 ++- tests/noexport-symbol-test-client.c | 77 +++ tests/noexport-symbo

Re: [PATCH 1/2] scanner: Add --visibility flag for setting symbol visibility

2017-07-26 Thread Jonas Ådahl
On Tue, Jul 25, 2017 at 02:44:29PM +0300, Pekka Paalanen wrote: > On Tue, 25 Jul 2017 18:39:56 +0800 > Jonas Ådahl <jad...@gmail.com> wrote: > > > Add a --visibility flag that enables the user to tweak the visibility > > of the symbols generated by wayland-

Re: [PATCH] libweston-desktop: add signals for title, app_id

2017-07-25 Thread Jonas Ådahl
On Tue, Jul 25, 2017 at 12:17 AM, Jonas Ådahl <jad...@gmail.com> wrote: > > > On Fri, Jul 21, 2017 at 05:21:38PM +0200, Quentin Glidic wrote: > > > On 7/20/17 4:33 PM, Matt Hoosier wrote: > > > > It's useful for the shell implementation to know when these change, &

[PATCH 2/2] tests: Test static symbol visibility

2017-07-25 Thread Jonas Ådahl
Test that it is possible to inline the protocol 'code' file generated by wayland-scanner in the source code files using it. Signed-off-by: Jonas Ådahl <jad...@gmail.com> --- .gitignore| 5 ++ Makefile.am | 32 - tests/data/ti

[PATCH 1/2] scanner: Add --visibility flag for setting symbol visibility

2017-07-25 Thread Jonas Ådahl
-by: Jonas Ådahl <jad...@gmail.com> --- Makefile.am | 10 ++--- src/scanner.c | 124 +++--- 2 files changed, 114 insertions(+), 20 deletions(-) diff --git a/Makefile.am b/Makefile.am index d0c8bd3..d570525 100644 --- a/Makefile.am

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

2017-07-25 Thread Jonas Ådahl
On Mon, Jul 24, 2017 at 02:16:04PM +0300, Pekka Paalanen wrote: > On Mon, 3 Jul 2017 17:16:45 +0800 > Jonas Ådahl <jad...@gmail.com> wrote: > > > Two different protocols may use interfaces with identical names. > > Implementing support for both those protocols would r

Re: [PATCH] libweston-desktop: add signals for title, app_id

2017-07-25 Thread Jonas Ådahl
On Fri, Jul 21, 2017 at 05:21:38PM +0200, Quentin Glidic wrote: > On 7/20/17 4:33 PM, Matt Hoosier wrote: > > It's useful for the shell implementation to know when these change, > > for example to relay the information on to taskbars or similar. > > The idea is good, we need something like that.

Re: Possible to run an xorg desktop in Wayland?

2017-07-20 Thread Jonas Ådahl
On Thu, Jul 20, 2017 at 04:05:21PM -0600, Jeff Sadowski wrote: > So from what I gather wayland can run xorg under it right? > If I'm running xorg I should be able to run something like x11vnc to > connect to that xorg correct? > and run stuff like xdotool on that xorg as well right? Not really.

Re: [PATCH weston v4] libweston-desktop/xdg-shell: Properly handle ack_configure

2017-07-20 Thread Jonas Ådahl
7+...@sardemff7.net> Reviewed-by: Jonas Ådahl <jad...@gmail.com> > --- > > On 7/20/17 10:24 AM, Jonas Ådahl wrote: > > Noticed one more thing I missed in the previous review: cleanup of the > > pending configure allocations on surface destruction. > > Oh, go

Re: [PATCH weston v3] libweston-desktop/xdg-shell: Properly handle ack_configure

2017-07-20 Thread Jonas Ådahl
On Thu, Jul 20, 2017 at 09:17:23AM +0200, Quentin Glidic wrote: > From: Quentin Glidic > > Now we keep track of serial->state association and we discard the states > that the client ignored. > > Signed-off-by: Quentin Glidic > --- > v3:

Re: [PATCH wayland-protocols v2 11/13] xdg-shell: clarify map/unmap wording

2017-07-17 Thread Jonas Ådahl
t;hidden state", > either accessible or inaccessible to the app (such as stacking order, > window position, or user-added hints or settings) should leak through an > unmap/map cycle, if such wording hasn't been added already. > > On Sun, Jul 16, 2017 at 11:32 PM, Jo

Re: [PATCH wayland-protocols v2 11/13] xdg-shell: clarify map/unmap wording

2017-07-17 Thread Jonas Ådahl
On Sun, Jul 16, 2017 at 11:16:25PM -0700, Jasper St. Pierre wrote: > (Coming into this one late) > > When I first wrote xdg-shell, I maintained that attaching a NULL buffer > should be illegal since it has no benefit compared to destroying the > surface, but compositors might not reset all data

Re: [RFC PATCH v3] Add xdg-output protocol

2017-07-14 Thread Jonas Ådahl
be > the output position and size in the global compositor space. > > Signed-off-by: Olivier Fourdan <ofour...@redhat.com> This one is Reviewed-by: Jonas Ådahl <jad...@gmail.com> but I'll wait with landing to see whether a consensus can be reached in the E-mail thread.

Re: [PATCH weston 3/3] libweston-desktop/xdg-shell: Check surface size against acknowledged size

2017-07-12 Thread Jonas Ådahl
On Wed, Jul 12, 2017 at 09:53:04AM +0200, Quentin Glidic wrote: > From: Quentin Glidic > > We were checking against the pending size, which lead some clients > (simple-egl) to crash because they sent a buffer before acknowledging > the latest configure event. > >

Re: [PATCH weston 2/3] libweston-desktop/xdg-shell: Add pending/next/current structs

2017-07-12 Thread Jonas Ådahl
On Wed, Jul 12, 2017 at 09:53:03AM +0200, Quentin Glidic wrote: > From: Quentin Glidic <sardemff7+...@sardemff7.net> > > Signed-off-by: Quentin Glidic <sardemff7+...@sardemff7.net> Reviewed-by: Jonas Ådahl <jad...@gmail.com> > --- > libw

Re: [PATCH weston 1/3] libweston-desktop/xdg-shell: Rename requested_ to pending_

2017-07-12 Thread Jonas Ådahl
On Wed, Jul 12, 2017 at 09:53:02AM +0200, Quentin Glidic wrote: > From: Quentin Glidic <sardemff7+...@sardemff7.net> > > Signed-off-by: Quentin Glidic <sardemff7+...@sardemff7.net> Reviewed-by: Jonas Ådahl <jad...@gmail.com> > --- > libw

Re: [PATCH wayland-protocols v2 11/13] xdg-shell: clarify map/unmap wording

2017-07-11 Thread Jonas Ådahl
On Tue, Jul 11, 2017 at 11:30:11PM +0100, David Edmundson wrote: > Can you clarify something here. > > >A newly-unmapped surface is considered to have met condition (1) out > + of the 3 required conditions for mapping a surface if its role > surface > + has not been destroyed. > >

[ANNOUNCE] wayland-protocols 1.8 and wayland-protocols 1.9

2017-07-11 Thread Jonas Ådahl
: Correct grammar xdg-shell: Correct grammar (multiple): Remove inconsistent line breaks linux-dmabuf-unstable: Use standard copyright notice Here is the shortlog for 1.9: Jonas Ådahl (1): configure.ac: Bump version to 1.9 Olivier Fourdan (2): Introduce keyboard

Re: [PATCH wayland-protocols v8 2/2] Add keyboard shortcuts inhibitor

2017-07-11 Thread Jonas Ådahl
hine and remote connection > viewers which require to pass all keyboard shortcuts to the hosted or > remote system instead of being caught up by the compositor locally. > > Signed-off-by: Olivier Fourdan <ofour...@redhat.com> > Reviewed-by: Peter Hutterer <peter.hutte...@wh

Re: [PATCH wayland-protocols v6 1/2] Introduce keyboard grabbing protocol for Xwayland

2017-07-11 Thread Jonas Ådahl
an active grab on the > keyboard to capture all keyboard events. > > Signed-off-by: Olivier Fourdan <ofour...@redhat.com> > Reviewed-by: Peter Hutterer <peter.hutte...@who-t.net> Reviewed-by: Jonas Ådahl <jad...@gmail.com> and pushed. Thanks! > --- > Makef

[PATCH wayland 1/3] Pass input/output files as arguments to wayland-scanner

2017-07-03 Thread Jonas Ådahl
When input/output files are passed as arguments to wayland-scanner, instead of using stdin/stdout, warning and error messages will contain the file name, together with line number, of the warning/error. Doing this helps IDEs jump to the correct line. Signed-off-by: Jonas Ådahl <jad...@gmail.

[PATCH wayland 3/3] tests: Add scanner symbol prefix test

2017-07-03 Thread Jonas Ådahl
Test that it is possible to implement and use an interface with a symbol prefix. Signed-off-by: Jonas Ådahl <jad...@gmail.com> --- .gitignore| 5 ++ Makefile.am | 30 +++- tests/symbol-prefix-test-client.c | 77

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

2017-07-03 Thread Jonas Ådahl
generated by wayland-scanner. Implementations (servers and clients) can then use these prefix:ed symbols to implement different objects with the same name. Signed-off-by: Jonas Ådahl <jad...@gmail.com> --- Something like this would be needed if a compositor/client wants to implement xdg

Re: [PATCH wayland-protocols v2 02/13] xdg-shell: Rename interfaces

2017-06-30 Thread Jonas Ådahl
On Fri, Jun 30, 2017 at 09:56:57AM +0200, Philipp Kerling wrote: > Am Freitag, den 30.06.2017, 15:42 +0800 schrieb Jonas Ådahl: > > On Fri, Jun 30, 2017 at 08:48:58AM +0200, Philipp Kerling wrote: > > > Hi, > > > > > > Am Freitag, den 30.06.2017, 13:50 +0800

Re: [PATCH wayland-protocols v2 02/13] xdg-shell: Rename interfaces

2017-06-30 Thread Jonas Ådahl
On Fri, Jun 30, 2017 at 08:48:58AM +0200, Philipp Kerling wrote: > Hi, > > Am Freitag, den 30.06.2017, 13:50 +0800 schrieb Jonas Ådahl: > > Rename the interfaces according to the wayland-protocols policy. > > Since > > the name 'xdg_shell' as an interface was alre

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

2017-06-29 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 <jad...@gmail.com> --- stable/xdg-shell/xdg-shell.xml | 4 1 file chan

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

2017-06-29 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 <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/x

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

2017-06-29 Thread Jonas Ådahl
borders, for example when using xdg_foreign. Signed-off-by: Jonas Ådahl <jad...@gmail.com> Signed-off-by: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/stable/xdg-shell/xdg-shell.

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

2017-06-29 Thread Jonas Ådahl
From: David Edmundson <davidedmund...@kde.org> 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 <davidedmund...@kde.org> Review

[PATCH wayland-protocols v2 11/13] xdg-shell: clarify map/unmap wording

2017-06-29 Thread Jonas Ådahl
From: Mike Blumenkrantz <zm...@osg.samsung.com> 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 <zm...@osg.samsung.com> Reviewed-by: Jonas Ådahl <jad...@gmail.com> ---

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

2017-06-29 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 <jad...@gmail.com> Signed-off-by: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 4 1 fil

[PATCH wayland-protocols v2 02/13] xdg-shell: Rename interfaces

2017-06-29 Thread Jonas Ådahl
as globals via the registry. Signed-off-by: Jonas Ådahl <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 44 +- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/stab

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

2017-06-29 Thread Jonas Ådahl
There is no such thing as 'monitor' in Wayland, only outputs. Signed-off-by: Jonas Ådahl <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/x

[PATCH wayland-protocols v2 01/13] Add xdg-shell to stable/

2017-06-29 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 <jad...@gmail.com> --- stable/xdg-shell/README|5 + stable/xdg-shell/xdg-shell.xml

[PATCH wayland-protocols v2 04/13] xdg-shell: Reword the xdg_wm_base introduction

2017-06-29 Thread Jonas Ådahl
y suitable for stacking, tiling and potentially other styles as well. Signed-off-by: Jonas Ådahl <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- Changes since v1: Commit message was updated - less explicit was changed to more explicit, since it did

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

2017-06-29 Thread Jonas Ådahl
of the window as it appears on the screen if the (x,y) coordinate changes. Signed-off-by: Jonas Ådahl <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 5 + 1 file changed, 5 insertions(+) diff --git a/stable/xdg-shell/xdg-shell.

[PATCH wayland-protocols v2 05/13] xdg-shell/positioner: Allow empty anchor_rect

2017-06-29 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 <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- Changes since v1: Had missed one part where it still required at lea

Re: [RFC PATCH wayland-protocols] Introduce logical output protocol for Xwayland

2017-06-29 Thread Jonas Ådahl
On Thu, Jun 29, 2017 at 04:44:34PM +0200, Olivier Fourdan wrote: > This introduces a new protocol for the compositor to describe outputs > size in a logical way for Xwayland. > > This is needed for X11 applications that would want to configure an X11 > window based on the size of the output,

Re: [PATCH wayland-protocols v5 1/2] Introduce keyboard grabbing protocol for Xwayland

2017-06-29 Thread Jonas Ådahl
On Fri, Jun 02, 2017 at 11:06:25AM +0200, Olivier Fourdan wrote: > This patch introduces a new protocol for grabbing the keyboard from > Xwayland. > > This is needed for X11 applications that map an override redirect window > (thus not focused by the window manager) and issue an active grab on

Re: [PATCH wayland-protocols v7 2/2] Add keyboard shortcuts inhibitor

2017-06-29 Thread Jonas Ådahl
On Tue, Jun 06, 2017 at 02:03:39PM +0200, Olivier Fourdan wrote: > This adds a new protocol to let Wayland clients specify that they want > all keyboard events to be sent to the client, regardless of the > compositor own shortcuts. > > This protocol can be used for virtual machine and remote

Re: [PATCH wayland-protocols 00/11] Declaring xdg-shell stable

2017-06-22 Thread Jonas Ådahl
On Thu, Jun 22, 2017 at 06:38:00PM +0100, David Edmundson wrote: > > > > For flipping, it's a bit more non straight forward, as > > flipping and the offset are not very useful in combination, > > > > Yes, I think it's only when flipped where we need some additional > clarification. > > > > How

Re: [PATCH wayland-protocols 00/11] Declaring xdg-shell stable

2017-06-20 Thread Jonas Ådahl
On Tue, Jun 20, 2017 at 06:54:34PM +0100, David Edmundson wrote: > You missed a line in "xdg-shell/positioner: Allow empty anchor_rect" > You might want to squash this with that. > From 0a21378302d63a83a10723b41adf35e605fb35f5 Mon Sep 17 00:00:00 2001 > From: David Edmundson

Re: [PATCH wayland-protocols 00/11] Declaring xdg-shell stable

2017-06-20 Thread Jonas Ådahl
On Tue, Jun 20, 2017 at 06:55:41PM +0100, David Edmundson wrote: > ​ > From 093ed1a17a483792e316f932e15a566ab2653838 Mon Sep 17 00:00:00 2001 > From: David Edmundson > Date: Tue, 20 Jun 2017 18:51:45 +0100 > Subject: [PATCH 2/2] xdg-shell/positioner: Replace edge

Re: [PATCH wayland-protocols 00/11] Declaring xdg-shell stable

2017-06-14 Thread Jonas Ådahl
On Fri, Jun 02, 2017 at 09:54:31AM +0100, David Edmundson wrote: > I have some comments/questions on the current v6 interface which I'd like > clarifying before we make it stable. > > The Positioner anchor and gravity both takes the edge as a bitfield of > flags. > > It's then part of the

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

2017-05-24 Thread Jonas Ådahl
of the window as it appears on the screen if the (x,y) coordinate changes. Signed-off-by: Jonas Ådahl <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 5 + 1 file changed, 5 insertions(+) diff --git a/stable/xdg-shell/xdg-shell.

[PATCH wayland-protocols 00/11] Declaring xdg-shell stable

2017-05-24 Thread Jonas Ådahl
r implementing a certain feature, that is expected; if there is something that makes extending the protocol to implement a certain feature impossible, that should be fixed. Jonas Jonas Ådahl (10): Add xdg-shell to stable/ xdg-shell: Rename interfaces xdg-shell: Update copyright notices xd

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

2017-05-24 Thread Jonas Ådahl
borders, for example when using xdg_foreign. Signed-off-by: Jonas Ådahl <jad...@gmail.com> Signed-off-by: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/stable/xdg-shell/xdg-shell.

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

2017-05-24 Thread Jonas Ådahl
be equally suitable for stacking, tiling and potentially other styles as well. Signed-off-by: Jonas Ådahl <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

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

2017-05-24 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 <jad...@gmail.com> Signed-off-by: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 4 1 fil

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

2017-05-24 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 <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 2 +- 1 file changed, 1 insertion(+)

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

2017-05-24 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 <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/x

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

2017-05-24 Thread Jonas Ådahl
From: Mike Blumenkrantz <zm...@osg.samsung.com> 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 <zm...@osg.samsung.com> Reviewed-by: Jonas Ådahl <jad...@gmail.com> ---

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

2017-05-24 Thread Jonas Ådahl
as globals via the registry. Signed-off-by: Jonas Ådahl <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 44 +- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/stab

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

2017-05-24 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl <jad...@gmail.com> Acked-by: Mike Blumenkrantz <zm...@osg.samsung.com> --- 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 ---

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

2017-05-24 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 <jad...@gmail.com> --- stable/xdg-shell/README|5 + stable/xdg-shell/xdg-shell.xml

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

2017-05-24 Thread Jonas Ådahl
There is no such thing as 'monitor' in Wayland, only outputs. Signed-off-by: Jonas Ådahl <jad...@gmail.com> Reviewed-By: Mike Blumenkrantz <zm...@osg.samsung.com> --- stable/xdg-shell/xdg-shell.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/x

Re: [PATCH 2/2 v3] Add keyboard shortcuts inhibitor

2017-04-12 Thread Jonas Ådahl
On Wed, Apr 05, 2017 at 02:30:15PM +0200, Olivier Fourdan wrote: > This adds a new protocol to let Wayland clients specify that they want > all keyboard events to be send to the client, regardless of the > compositor own shortcuts. > > This is for use by virtual machine and remote connections

Re: [PATCH 1/2] Introduce keyboard grabbing protocol for Xwayland

2017-04-12 Thread Jonas Ådahl
On Wed, Mar 22, 2017 at 05:27:22PM +0100, Olivier Fourdan wrote: > This patch introduces a new protocol for grabbing the keyboard from > Xwayland. > > This is needed for X11 applications that map an override redirect window > (ths not focused by the window manager) and issue an active grab on the

Re: [PATCH wayland 8/9] client: Replace the singleton zombie with bespoke zombies

2017-04-11 Thread Jonas Ådahl
On Tue, Apr 11, 2017 at 10:37:28AM -0500, Derek Foreman wrote: > On 07/04/17 03:27 PM, Derek Foreman wrote: > > Using the singleton zombie object doesn't allow us to posthumously retain > > object interface information, which makes it difficult to properly inter > > future events destined for the

Re: [PATCH wayland] docs: Reference Contributor Covenant

2017-04-07 Thread Jonas Ådahl
se conduct yourself in a respectful and civilised manner when > > +interacting with community members on mailing lists, IRC, or bug > > +trackers. The community represents the project as a whole, and abusive > > +or bullying behaviour is not tolerated by the project. > > + > &g

Re: [RFC wayland-protocols] inputfd - direct input access protocol

2017-03-31 Thread Jonas Ådahl
On Sat, Apr 01, 2017 at 10:48:40AM +1000, Peter Hutterer wrote: > On Fri, Mar 31, 2017 at 12:23:49PM +0300, Pekka Paalanen wrote: > > > + > > > + This event is sent to notify the client of a custom property that > > > + applies to this device. The property is a standard key/value store > > >

Re: [RFC] Interface for injection of input events

2017-03-21 Thread Jonas Ådahl
On Wed, Mar 22, 2017 at 12:23:46PM +1000, Peter Hutterer wrote: > Hi all, > > This is an RFC for a new interface to generate input events from arbitrary > clients. Note that this is only a few days old, so **do not** assume this is > anything more a thought experiment right now. This email is

Re: [RFC PATCH xserver] xwayland: RFC Disable glamor with an env var?

2017-03-02 Thread Jonas Ådahl
On Thu, Mar 02, 2017 at 05:47:10AM -0500, Olivier Fourdan wrote: > Hi Pekka, > > > I understand the attractiveness of adding an override, bypassing the > > compositors like this. But, essentially it is just that: a > > configuration bypass. > > True. > > > I would prefer leaning towards just

Re: [PATCH weston] weston-resizor: Don't add new frame callbacks every click

2017-02-17 Thread Jonas Ådahl
On Wed, Feb 08, 2017 at 03:05:54PM -0600, Derek Foreman wrote: > The frame callback added on button click re-adds itself when done, > so adding a new one every click resulted in an ever increasing > number of callbacks. > > Signed-off-by: Derek Foreman > --- >

Re: [PATCH wayland v2] protocol: Clarify the behaviour of wl_surface.attach

2017-02-14 Thread Jonas Ådahl
On Tue, Feb 14, 2017 at 10:20:06AM -0600, Derek Foreman wrote: > Attaching a NULL wl_buffer to a surface is not always valid, but > the previous text indicated it was. > > Instead, let's define what NULL attachment does for all the surface > roles defined in wayland.xml, stop giving a blanket

Re: [PATCHv3] Add surface-layers protocol

2017-01-24 Thread Jonas Ådahl
On Tue, Jan 24, 2017 at 10:03:05PM -0500, Drew DeVault wrote: > On 2017-01-25 9:54 AM, Jonas Ådahl wrote: > > Hi, > > > > By the looks of it, this is a protocol extension that aims to enable > > desktop environments to be built of interoperable components (i.e. a >

Re: libwayland-server ABI change: [PATCH] wayland-server: Destroy Clients upon wl_display_destroy()

2017-01-24 Thread Jonas Ådahl
On Mon, Jan 23, 2017 at 03:40:11PM +0200, Pekka Paalanen wrote: > On Tue, 20 Dec 2016 18:40:13 +0530 > viveka wrote: > > > From: "Vivek.A" > > > > Without this, client socket file descriptors are being kept open until > > the process > >

Re: [PATCHv3] Add surface-layers protocol

2017-01-24 Thread Jonas Ådahl
Hi, By the looks of it, this is a protocol extension that aims to enable desktop environments to be built of interoperable components (i.e. a "background" process to draw a (live?) wallpaper, an "overlay" thing could be used to create a panel, popup launcher or alt-tab view or something). Is this

Re: [PATCH] xdg-shell: require popups to intersect with or be adjacent to parent surfaces

2017-01-17 Thread Jonas Ådahl
On Mon, Dec 19, 2016 at 11:56:38AM -0500, Mike Blumenkrantz wrote: > some restrictions must be placed on this or else it becomes legal for > the compositor to place popups in unexpected locations > > Signed-off-by: Mike Blumenkrantz Pushed: 642dd7a..375385e master ->

Re: [RFE wayland] protocol: add axis_source.wheel_tilt

2017-01-03 Thread Jonas Ådahl
other axis sources more verbosely. Hindsight and whatnot. > > > > protocol/wayland.xml | 10 -- > > 1 file changed, 8 insertions(+), 2 deletions(-) > > Any opinions on this? I can't see anything wrong with adding this, and I have no better idea what source to assign a whe

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

2017-01-03 Thread Jonas Ådahl
On Thu, Dec 29, 2016 at 07:59:40PM -0500, Adam Goode wrote: > On Mon, Dec 19, 2016 at 10:15 PM, Jonas Ådahl <jad...@gmail.com> wrote: > > > On Mon, Dec 19, 2016 at 12:55:24PM -0500, Adam Goode wrote: > > > Compositors currently receive "move", "resize&qu

Re: Hide or show the surface

2016-12-22 Thread Jonas Ådahl
On Fri, Dec 23, 2016 at 09:52:45AM +0800, Anthenony wrote: > Hi, All: > > > As far as I know there is no interface to hide or show the client. I want > to make sure whether other method is feasible. > For example, I move the client out of the screen. > > Hide: >

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

2016-12-19 Thread Jonas Ådahl
x > - rephrase "talking to hardware" as "driving the displays" > - mention circular dependency in intro > - add section to explain rootless and rootful modes > - remove paragraph about Xwayland protocol usage > - move TBD part to the end under a new section header >

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

2016-12-19 Thread Jonas Ådahl
ged, 55 insertions(+), 83 deletions(-) > > diff --git a/COPYING b/COPYING > index 8ab3291..73cebf9 100644 > --- a/COPYING > +++ b/COPYING > @@ -6,6 +6,7 @@ Copyright © 2014 Jonas Ådahl > Copyright © 2014 Jason Ekstrand > Copyright © 2014-2015 Collabora, Ltd. >

Re: [PATCH] xdg-shell: require popups to intersect with or be adjacent to parent surfaces

2016-12-19 Thread Jonas Ådahl
specified further that its about window geometry and not just the surface I guess, but this is an improvement so: Reviewed-by: Jonas Ådahl <jad...@gmail.com> Jonas > --- > unstable/xdg-shell/xdg-shell-unstable-v6.xml | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) >

Re: [PATCH] xdg-shell: require that popups intersect with parent surfaces

2016-12-08 Thread Jonas Ådahl
On Thu, Dec 08, 2016 at 11:00:10AM -0500, Mike Blumenkrantz wrote: > some restrictions must be placed on this or else it becomes legal for > the compositor to place popups in unexpected locations > > Signed-off-by: Mike Blumenkrantz > --- >

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

2016-12-04 Thread Jonas Ådahl
On Wed, Nov 23, 2016 at 06:32:07PM +0100, Carlos Garnacho wrote: > The leave events in the respective device interfaces has been further > documented so those can convey the necessary info when input is being > redirected out of their currently focused surface. > > Only wl_touch is missing

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

2016-12-01 Thread Jonas Ådahl
On Thu, Dec 01, 2016 at 09:28:11AM -0500, Adam Goode wrote: > 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.redha

<    1   2   3   4   5   6   7   8   9   10   >