Re: Re: Re: Questions about disabling key repeat for a keycode or a keysym

2016-04-19 Thread 박성진
Dear Ran, what I did is following. :) 1. define a custom keysym in libxkbcommon - add a custom keysym into xkbcommon/xkbcommon-keysyms.h file (e.g. XF86VoiceWakeUp) - build ks_table.h again to reflect the custom keysym in libxkbcommon 2. add a mapping between a keycode and a keysym in xkeyb

Re: [PATCH wayland-protocols 7/7] xdg-shell: Introduce xdg_positioner

2016-04-19 Thread Jonas Ådahl
On Tue, Apr 19, 2016 at 04:50:31PM +, Mike Blumenkrantz wrote: > I've emerged from my bike shed in order to join this expert-level > shedcraftsmanship discussion. Excellent! > > On Thu, Apr 14, 2016 at 4:28 AM Jonas Ådahl wrote: > > > xdg_positioner is a method for declarative positioning

Re: Plans for Weston surface remoting for IVI

2016-04-19 Thread Florian Haenel
Hi, I'm new to weston but have worked with qtwayland for some time now implementing a qml compositor, so forgive me if my remarks are naive as I haven't followed discussions around weston. For our hackathon I implemented something like your proposal, only for shm buffers and without consider

Re: standardizing "surface-local coordinates"

2016-04-19 Thread Daniel Stone
Hi, On 19 April 2016 at 17:55, Yong Bakos wrote: > There was a little discussion recently about standardizing occurrences of > "surface local coordinates" to the grammatically correct "surface-local > coordinates." (It's a compound adjective.) > > https://lists.freedesktop.org/archives/wayland-

standardizing "surface-local coordinates"

2016-04-19 Thread Yong Bakos
Hi, There was a little discussion recently about standardizing occurrences of "surface local coordinates" to the grammatically correct "surface-local coordinates." (It's a compound adjective.) https://lists.freedesktop.org/archives/wayland-devel/2016-April/028241.html Doing so would affect docu

Re: [PATCH wayland-protocols 7/7] xdg-shell: Introduce xdg_positioner

2016-04-19 Thread Mike Blumenkrantz
I've emerged from my bike shed in order to join this expert-level shedcraftsmanship discussion. On Thu, Apr 14, 2016 at 4:28 AM Jonas Ådahl wrote: > xdg_positioner is a method for declarative positioning of child surfaces > (currently only xdg_popup surfaces). A client creates a description of a

Re: [PATCH wayland-protocols v2 0/5] Stabilize wl_scaler as wp_viewporter

2016-04-19 Thread Daniel Stone
Hi, On 19 April 2016 at 15:46, Yong Bakos wrote: > On Apr 19, 2016, at 7:23 AM, Pekka Paalanen wrote: >> The final XML file is also verbatim at the end of this email to allow easy >> overall review. Thanks a lot for this, that helps hugely. > v2 patches 1 - 4 look good and are > Reviewed-by: Y

Re: [PATCH wayland-protocols v2 0/5] Stabilize wl_scaler as wp_viewporter

2016-04-19 Thread Yong Bakos
On Apr 19, 2016, at 7:23 AM, Pekka Paalanen wrote: > > From: Pekka Paalanen > > Hi, > > comments for the v1 have been adressed, and here is the new series, for > wayland-protocols only. Once this got enough R-b's, I will post the Weston > part > before merging this upstream. > > Changes in v

Re: Where to find most current draft of xdg-shell?

2016-04-19 Thread Jonas Ådahl
On Tue, Apr 19, 2016 at 04:08:56PM +0200, Martin Graesslin wrote: > On Tuesday, April 19, 2016 8:57:14 PM CEST Jonas Ådahl wrote: > > On Tue, Apr 19, 2016 at 02:32:08PM +0200, Martin Graesslin wrote: > > > Hi Wayland devs, > > > > > > finally adding xdg-shell support in KWayland and KWin became th

Re: [PATCH wayland 2/3] server: move include directives before extern "C" wrapper

2016-04-19 Thread Emil Velikov
On 19 April 2016 at 09:51, Pekka Paalanen wrote: > On Mon, 18 Apr 2016 08:16:37 +0200 > Hardening wrote: > >> Le 17/04/2016 13:29, Emil Velikov a écrit : >> > Analogous to previous commit but for the server(-core) header. >> > >> > Signed-off-by: Emil Velikov >> > --- >> > src/wayland-server-co

Re: Where to find most current draft of xdg-shell?

2016-04-19 Thread Martin Graesslin
On Tuesday, April 19, 2016 8:57:14 PM CEST Jonas Ådahl wrote: > On Tue, Apr 19, 2016 at 02:32:08PM +0200, Martin Graesslin wrote: > > Hi Wayland devs, > > > > finally adding xdg-shell support in KWayland and KWin became the top-most > > item on my todo list. But I'm wondering: where do I find the

Re: [PATCH v3] protocol: Extend wl_touch with touchpoint shape and orientation

2016-04-19 Thread Pekka Paalanen
On Tue, 19 Apr 2016 08:28:10 -0500 Yong Bakos wrote: > On Apr 18, 2016, at 11:49 PM, Peter Hutterer wrote: > > On Mon, Apr 18, 2016 at 12:36:39PM +0800, Jonas Ådahl wrote: > >> On Fri, Apr 15, 2016 at 08:01:35AM -0700, Dennis Kempin wrote: > >>> This CL updates the wl_touch interface with a

Re: [PATCH v3] protocol: Extend wl_touch with touchpoint shape and orientation

2016-04-19 Thread Yong Bakos
On Apr 18, 2016, at 11:49 PM, Peter Hutterer wrote: > On Mon, Apr 18, 2016 at 12:36:39PM +0800, Jonas Ådahl wrote: >> On Fri, Apr 15, 2016 at 08:01:35AM -0700, Dennis Kempin wrote: >>> This CL updates the wl_touch interface with a shape and >>> orientation event. >>> The shape/orientation of a tou

[PATCH weston] weston-info: look for the right wp_presentation

2016-04-19 Thread Pekka Paalanen
From: Pekka Paalanen Patch b00c79b587a4903df576008a64a49f851fed234c forgot to update the global interface name to look for. Fix it. This makes weston-info report the presentation clock again. Signed-off-by: Pekka Paalanen --- clients/weston-info.c | 2 +- 1 file changed, 1 insertion(+), 1 del

Re: Where to find most current draft of xdg-shell?

2016-04-19 Thread Jonas Ådahl
On Tue, Apr 19, 2016 at 02:32:08PM +0200, Martin Graesslin wrote: > Hi Wayland devs, > > finally adding xdg-shell support in KWayland and KWin became the top-most > item > on my todo list. But I'm wondering: where do I find the most recent protocol > draft and test clients for them? Hi, Thats

Re: Where to find most current draft of xdg-shell?

2016-04-19 Thread Yong Bakos
On Apr 19, 2016, at 7:32 AM, Martin Graesslin wrote: > > Hi Wayland devs, > > finally adding xdg-shell support in KWayland and KWin became the top-most > item > on my todo list. But I'm wondering: where do I find the most recent protocol > draft and test clients for them? Hi Martin, There's

Re: [PATCH v8 xdg-shell-unstable-v6] xdg-shell: Add min/max size requests

2016-04-19 Thread Jonas Ådahl
On Mon, Apr 18, 2016 at 09:19:48AM +0200, Olivier Fourdan wrote: > Some application may wish to restrict their window in size, but > xdg-shell has no mechanism for the client to specify a maximum or > minimum size. > > As a result, the compositor may try to maximize or fullscreen a window > while

Where to find most current draft of xdg-shell?

2016-04-19 Thread Martin Graesslin
Hi Wayland devs, finally adding xdg-shell support in KWayland and KWin became the top-most item on my todo list. But I'm wondering: where do I find the most recent protocol draft and test clients for them? Cheers Martin signature.asc Description: This is a digitally signed message part. __

[PATCH wayland-protocols v2 2/5] stable/viewporter: remove wp_viewport.set request

2016-04-19 Thread Pekka Paalanen
From: Pekka Paalanen Remove the old, redundant request. The new way is to call both wp_viewport.set_source and wp_viewport.set_destination when you want to set everything. Signed-off-by: Pekka Paalanen --- stable/viewporter/viewporter.xml | 27 --- 1 file changed, 27 de

[PATCH wayland-protocols v2 3/5] stable/viewporter: rename and build

2016-04-19 Thread Pekka Paalanen
From: Pekka Paalanen Rename interfaces and the protocol to follow the policy. Reset interface versions. Replace "surface coordinates" with "surface local coordinates". Hook up to build and install. Signed-off-by: Pekka Paalanen Reviewed-by: Yong Bakos --- Makefile.am |

[PATCH wayland-protocols v2 5/5] stable/viewporter: add more error cases

2016-04-19 Thread Pekka Paalanen
From: Pekka Paalanen Rather than silenty doing things, make them explicit and error if anything is not quite right. Suggested by Daniel Stone. Signed-off-by: Pekka Paalanen --- stable/viewporter/viewporter.xml | 42 +++- 1 file changed, 24 insertions(+), 18

[PATCH wayland-protocols v2 1/5] stable: add viewporter draft

2016-04-19 Thread Pekka Paalanen
From: Pekka Paalanen This XML file has been copied verbatim from Weston 1.10.0 release, protocol/scaler.xml. The interfaces still need renaming according to wayland-protocols policy. Also a redundant request needs to be removed. These will be done in a follow-up patch to clearly show the changes

[PATCH wayland-protocols v2 4/5] stable/viewporter: rephrase a wp_viewport paragraph

2016-04-19 Thread Pekka Paalanen
From: Pekka Paalanen Cc: Yong Bakos Signed-off-by: Pekka Paalanen --- stable/viewporter/viewporter.xml | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/stable/viewporter/viewporter.xml b/stable/viewporter/viewporter.xml index 7d299eb..ea8c0f2 100644 --- a/stable/

[PATCH wayland-protocols v2 0/5] Stabilize wl_scaler as wp_viewporter

2016-04-19 Thread Pekka Paalanen
From: Pekka Paalanen Hi, comments for the v1 have been adressed, and here is the new series, for wayland-protocols only. Once this got enough R-b's, I will post the Weston part before merging this upstream. Changes in v2: - No changes in patch 1. - Patch "stable/viewporter: finish stabilizati

Re: [PATCH wayland-protocols 1/2] stable: add viewporter draft

2016-04-19 Thread Pekka Paalanen
On Mon, 18 Apr 2016 15:16:39 +0100 Daniel Stone wrote: > Hi, > > On 15 April 2016 at 15:53, Pekka Paalanen wrote: > > + This interface allows to define the source rectangle (src_x, > > + src_y, src_width, src_height) from where to take the wl_buffer > > + contents, and scale that

Re: Re: Questions about disabling key repeat for a keycode or a keysym

2016-04-19 Thread Ran Benita
On Tue, Apr 19, 2016 at 09:54:35AM +, 박성진 wrote: > Dear Ran, > thank you for your answer. :) > > Plz kindly provide more details about it. > We have defined some key symbols for built-in keys in mobile handset > and would like to disable repeat for them. Can you give an example of such a key

Re: [PATCH wayland-protocols 1/2] stable: add viewporter draft

2016-04-19 Thread Pekka Paalanen
On Mon, 18 Apr 2016 07:15:28 -0500 Yong Bakos wrote: > On Apr 15, 2016, at 9:53 AM, Pekka Paalanen wrote: > > > > From: Pekka Paalanen > > > > This XML file has been copied verbatim from Weston 1.10.0 release, > > protocol/scaler.xml. > > > > The interfaces still need renaming according to w

Re: Re: Questions about disabling key repeat for a keycode or a keysym

2016-04-19 Thread 박성진
Dear Ran, thank you for your answer. :) Plz kindly provide more details about it. We have defined some key symbols for built-in keys in mobile handset and would like to disable repeat for them. Thanks and regards, Sung-Jin Park --- Original Message --- Sender : Ran Benita Date : 2016-

Re: Questions about disabling key repeat for a keycode or a keysym

2016-04-19 Thread Ran Benita
The value returned by `xkb_keymap_key_repeats()` is determined by the keymap. In xkeyboard-config, it is "calculated" automatically by a mechanism called "interprets" in the "compat" section, but it can also be set directly for a given key in the "symbols" section. I can provide more details if you

Re: [PATCH wayland 2/3] server: move include directives before extern "C" wrapper

2016-04-19 Thread Pekka Paalanen
On Mon, 18 Apr 2016 08:16:37 +0200 Hardening wrote: > Le 17/04/2016 13:29, Emil Velikov a écrit : > > Analogous to previous commit but for the server(-core) header. > > > > Signed-off-by: Emil Velikov > > --- > > src/wayland-server-core.h | 8 > > 1 file changed, 4 insertions(+), 4 de

Re: [PATCH weston v6 06/12] x11: port the x11 backend to the new init api

2016-04-19 Thread Pekka Paalanen
On Fri, 15 Apr 2016 20:28:31 -0700 Bryce Harrington wrote: > From: Benoit Gschwind > > Use a "well" defined structure to configure x11-backend and move configuration > file parsing inside the weston compositor code. > > Signed-off-by: Bryce Harrington > > v6: > - Define version number in t