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-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.

[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 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 from v1 to

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] 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

[ANNOUNCE] wayland-protocols 1.16

2018-07-30 Thread Jonas Ådahl
is the 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 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 patch 3, so

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.

[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/tests

[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

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

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: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 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 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

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 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 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

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

2018-07-24 Thread Jonas Ådahl
er, 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 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

[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 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, > > > >

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 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: 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

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

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 <jad...@gmail.com> wrote: > > Looks fine to me. Are all those Reviewed-by:s also for the trimmed down > > version? > > Ah, no, you're right. > > Drew DeVault, Davi

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

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] 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: 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: [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

[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: [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

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 <s...@cmpwn.com> > Reviewed-by: Simon Ser <cont...@emersion.fr> One nit inline I just spotted. With that fixed, this is Reviewed-by: Jonas Ådahl <jad...@gmail.com> I'll wait a

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: > > > > > > -

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 <jad...@gmail.com> 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 comi

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 <jad...@gmail.com> wrote: > > How do you imagine avoiding state transitions that don't result in > > incorrect intermediate state? If a compositor changes the preferred > &

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 <jad...@gmail.com> wrote: > > Another thing to consider is whether non-toplevels ever want a similar

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 is one com

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

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 m

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: [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: [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

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

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

2018-04-13 Thread Jonas Ådahl
sing to make the gtk_shell tiling stuff obsolete. I have one comment below inline. With that fixed, this is Reviewed-by: Jonas Ådahl <jad...@gmail.com> > > Changes since v1: added since=2 to enum members > --- > stable/xdg-shell/xdg-shell.xml | 34 ++

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

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

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 <jad...@gmail.com> wrote: > > > FWIW, I did something similar, here: > > https://lists.freedesktop.org/archives/wayland-devel/2017- > > Octo

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

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

[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: [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 <ofour...@redhat.com> Reviewed-by: Jonas Ådahl <jad...@gmail.com> > --- > src/wayland-shm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) &

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 <jad...@gmail.com> wrote: > > On Wed, Jan 24, 2018 at 07:15:09PM +, Emil Velikov wrote: > >> On 24 January 2018 at 18:20, Derek Foreman <der...@osg.samsung.com&g

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

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

2018-01-18 Thread Jonas Ådahl
gt; >>> > > >>>> On 25 July 2017 at 10:24, Pekka Paalanen <ppaala...@gmail.com> wrote: > > >>>>> On Tue, 25 Jul 2017 15:25:58 +0800 > > >>>>> Jonas Ådahl <jad...@gmail.com> wrote: > > >>>>&

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 > > >

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:

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

2017-12-18 Thread Jonas Ådahl
the commented out list of ideas to write > > v4: > - typo fixes pointed out by Yong > > Cc: Olivier Fourdan <ofour...@redhat.com> > Cc: Jonas Ådahl <jad...@gmail.com> > Cc: Daniel Stone <dan...@fooishbar.org> > Signed-off-by: Pekka Paalanen <pekka.pa

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

2017-12-17 Thread Jonas Ådahl
have already provided more in depth review, so I just skimmed through the extension and it looks reasonable to me. Acked-by: Jonas Ådahl <jad...@gmail.com> Jonas > --- > Makefile.am| 1 + > unstable/input-timestamps/README

[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 <jad...@gmail.com> --- Eventually we can consider adding deprecation attributes the XML nodes that'll turn into co

[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

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

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

2017-11-21 Thread Jonas Ådahl
SPLAY in > protocol documentation. > > Signed-off-by: Matt Hoosier <matt.hoos...@gmail.com> This feature is Acked-by: Jonas Ådahl <jad...@gmail.com> but I have a few comments on the documentation below. > --- > doc/man/wl_display_connect.xml| 22 ++-- > doc/pub

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

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

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 <jad...@gmail.com> wrote: > > > Having a strict requirement on clients obeying the configured window > > geometry for fullscreen toplevel surfaces might have the s

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 >

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

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

2017-11-20 Thread Jonas Ådahl
the fullscreen window geometry dimensions. Signed-off-by: Jonas Ådahl <jad...@gmail.com> --- 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..d

[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 <jad...@gmail.com> Reviewed-by: Mike Blumenkrantz <zm...@samsung.com> --- stable/xdg-shell/xdg-shell.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable/xdg-shell/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 <jad...@gmail.com> Reviewed-by: Mike Blumenkrantz <zm...@samsung.com> --- stable/xdg-shell/xdg-shell.xml | 8 1 fil

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

[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 <jad...@gmail.com> Reviewed-by: Mike Blumenkrantz <zm...@samsung.com> --- stable/xdg-shell/xdg-shell.xml | 22 +- 1 file changed, 21 insertions(+)

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

2017-11-15 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 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 <jad...@gmail.com> Reviewed-by

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

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

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

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

2017-11-15 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 v3 07/17] xdg-shell/surface: Add note about window position and geometry

2017-11-15 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 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/ xdg-she

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

2017-11-15 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> --- stable/xdg-shell/xdg-shell.xml | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

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

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

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

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

2017-11-09 Thread Jonas Ådahl
On Thu, Nov 09, 2017 at 09:36:29AM -0600, Matt Hoosier wrote: > From: Matt Hoosier > > In order to support system compositor instances, it is necessary to > allow clients' wl_display_connect() to find the compositor's listening > socket somewhere outside of

Re: New paths for Wayland sockets (Re: Enabling Android-style per application user ids)

2017-11-08 Thread Jonas Ådahl
I'd just like to point out that changing WAYLAND_DISPLAY to be able to point to a socket using an absolute path is not completely backward compatible. In the wl_display_connect() documentation it says that "The server socket must be placed in XDG_RUNTIME_DIR for this function to find it."

Re: [PATCH] Add the KDE server decoration protocol

2017-10-30 Thread Jonas Ådahl
On Mon, Oct 30, 2017 at 01:03:20PM +0800, Jonas Ådahl wrote: > On Fri, Oct 27, 2017 at 01:13:15PM +0100, David Edmundson wrote: > > The server decoration protocol negotiates between the client and server > > whether the client should default to drawing window decorations,

Re: [PATCH] Add the KDE server decoration protocol

2017-10-29 Thread Jonas Ådahl
On Fri, Oct 27, 2017 at 01:13:15PM +0100, David Edmundson wrote: > The server decoration protocol negotiates between the client and server > whether the client should default to drawing window decorations, and > informs the compositor what the client is doing. > > This is useful not just for a

Re: [PATCH libinput 1/2] test: unref the litest device *after* removing it from the path interface

2017-10-18 Thread Jonas Ådahl
d-off-by: Peter Hutterer <peter.hutte...@who-t.net> This and the next is Reviewed-by: Jonas Ådahl <jad...@gmail.com> > --- > test/litest.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/litest.c b/test/litest.c > index 4f26771f..d34bd

Re: [PATCH weston v2] libweston-desktop/xdg-shell-v6: Actually send same-as-current configure if needed

2017-10-18 Thread Jonas Ådahl
yet. > Now, we check against the latest configured state (which is current > state if configure list is empty). > > Reported on wlroots https://github.com/swaywm/wlroots/pull/280 > > Signed-off-by: Quentin Glidic <sardemff7+...@sardemff7.net> Reviewed-by: Jonas Ådahl &

Re: [PATCH weston] libweston-desktop/xdg-shell-v6: Actually send same-as-current configure if needed

2017-10-17 Thread Jonas Ådahl
On Tue, Oct 17, 2017 at 04:18:51PM +0200, Quentin Glidic wrote: > From: Quentin Glidic > > If a surface is in state A, and we just sent a configure for state B, > setting back state A would be ignored, because state B has not been > committed yet. > Since we only

Re: [PATCH wayland] scanner: Add --strict flag

2017-10-12 Thread Jonas Ådahl
On Thu, Oct 12, 2017 at 10:09:43AM +0300, Pekka Paalanen wrote: > On Wed, 11 Oct 2017 17:31:33 +0800 > Jonas Ådahl <jad...@gmail.com> wrote: > > > Add a --strict flag for making wayland-scanner fail if the DTD > > verification fails. This is useful for testing, so th

[PATCH wayland] scanner: Add --strict flag

2017-10-11 Thread Jonas Ådahl
Add a --strict flag for making wayland-scanner fail if the DTD verification fails. This is useful for testing, so that a test case can fail a scan when the protocol doesn't comply with the DTD. Signed-off-by: Jonas Ådahl <jad...@gmail.com> --- This could be used by wayland-protocols (and

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

2017-10-11 Thread Jonas Ådahl
On Wed, Oct 11, 2017 at 11:13:02AM +0200, Olivier Fourdan wrote: > Hi, > > On 11 October 2017 at 11:00, Jonas Ådahl <jad...@gmail.com> wrote: > > > It has been replaced by meson. > > --- > > .gitignore | 16 ---

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