Re: how to make Xwayland auto start on tizen-ivi-3.0 image

2014-09-03 Thread Pekka Paalanen
On Wed, 3 Sep 2014 18:19:59 + "VanCutsem, Geoffroy" wrote: > > -Original Message- > > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > > Sent: Wednesday, September 03, 2014 9:04 AM > > To: Steve (YiLiang) Zhou > > Cc: VanCutsem, Geoffroy; i...@lists.tizen.org; wayland- > > de...@li

[PATCH libinput 0/5] Conditional touchpad disabling

2014-09-03 Thread Peter Hutterer
This patchset adds support for two features: * disabling the touchpad when a mouse is plugged in * allow top-software buttons to work when the touchpad is disabled Builds on the patchset sent out here: http://lists.freedesktop.org/archives/wayland-devel/2014-September/017032.html Full branch: ht

[PATCH libinput 2/5] evdev: add internal tagging system

2014-09-03 Thread Peter Hutterer
For conditional touchpad disabling we need two pieces of knowledge: is the device an internal touchpad and is another device an external mouse-like device. For that use-case it's enough to tag any device that's on USB and Bluetooth with pointer capabilities as external mouse. A more complex can be

[PATCH libinput 5/5] touchpad: when disabling a TOPBUTTONPAD, leave the buttons enabled

2014-09-03 Thread Peter Hutterer
On a TOPBUTTONPAD, we can't disable the touchpad altogether - the trackstick relies on the touchpad's top software buttons. On those devices, stretch the top buttons down to INT_MAX on suspend and then route any button click events through the trackstick device. On resume, restore the original con

[PATCH libinput 3/5] touchpad: implement conditional disabling

2014-09-03 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 89 ++--- test/device.c | 19 ++- 2 files changed, 102 insertions(+), 6 deletions(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 076b32a..adb3d02 100

[PATCH libinput 1/5] evdev: add a internal device notification mechanism

2014-09-03 Thread Peter Hutterer
When a device is added or removed, notify all internal devices about the device change. This allows all devices to configure themselves depending on other devices in the system. Prime use-case here is an internal touchpad that wants to know if an external mouse is connected. On device added, notif

[PATCH libinput 4/5] touchpad: move softbutton initialization to separate function

2014-09-03 Thread Peter Hutterer
No functional changes Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-buttons.c | 77 + src/evdev-mt-touchpad.h | 3 ++ 2 files changed, 50 insertions(+), 30 deletions(-) diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpa

Re: Wayland specification doesn't match code generation

2014-09-03 Thread Boyan Ding
On Wed, 2014-09-03 at 21:04 -0700, Jasper St. Pierre wrote: > The fact that we have an undocumented hack like that in our scanner > clearly isn't great. We need to document it. I totally agree. This can really confuse every beginner. ___ wayland-devel

Re: Wayland specification doesn't match code generation

2014-09-03 Thread Jasper St. Pierre
The fact that we have an undocumented hack like that in our scanner clearly isn't great. We need to document it. On Sep 3, 2014 8:55 PM, "Boyan Ding" wrote: > Hi, > > It is actually not a fault in wayland, instead it is designed to be so. > new_id's without interface specified in the protocol (su

Re: Wayland specification doesn't match code generation

2014-09-03 Thread Boyan Ding
Hi, It is actually not a fault in wayland, instead it is designed to be so. new_id's without interface specified in the protocol (such as the one in wl_registry::bind) must come with 3 arguments (s: interface name, u: version, n: the actual new_id). That's why 'n' turns into 'sun'. If a language b

Wayland specification doesn't match code generation

2014-09-03 Thread Paul Sbarra
I tried to start some discussion on this topic previously, but it apparently didn't make it through the moderator, so I'm trying again having now joined the list. I've recently taken an interest in the gowl implementation of the wayland protocol and notice

Re: [PATCH weston] shell: fix various interactions with the minimized state

2014-09-03 Thread Giulio Camuffo
2014-07-31 16:36 GMT+03:00 Manuel Bachmann : > This fixes the following : > - if a surface was set fullscreen, and then minimized, > the fullscreen compositor state would stay on and display > a black screen ; How do you test that? Did you have to craft an ad-hoc client? > - if a surface was set

[PATCH V2] wayland.xml: add "enum", "bitfield" and "is_bitfield" attributes

2014-09-03 Thread Nils Chr. Brause
This replaces "[PATCH wayland] Add "enum" attribute to "arg" elements". Previous concers have be incorporated and it is meant for 1.7. >From 733fb18b163de93276f092a4be100c7e0c0c723f Mon Sep 17 00:00:00 2001 From: "Nils Chr. Brause" Date: Wed, 3 Sep 2014 19:18:28 +0200 Subject: [PATCH] wayland.xml

Re: [PATCH wayland] Add "enum" attribute to "arg" elements

2014-09-03 Thread Nils Chr. Brause
On Wed, Sep 3, 2014 at 9:15 AM, Pekka Paalanen wrote: > > On Mon, 1 Sep 2014 22:07:44 +0200 > "Nils Chr. Brause" wrote: > > > > While I'm at that, I would also like to make use of the enum names in the > > generated C code. As far as I can see, this would not break any existing > > code, would it

Re: [PATCH] pixman-backend: add support for zooming

2014-09-03 Thread Jason Ekstrand
On Mon, Sep 1, 2014 at 8:33 AM, Derek Foreman wrote: > On 01/09/14 04:52 AM, Jason Ekstrand wrote: > > On Mon, Sep 1, 2014 at 2:37 AM, Pekka Paalanen > wrote: > > > >> On Fri, 29 Aug 2014 23:35:37 -0700 > >> Jason Ekstrand wrote: > >> > >>> On Aug 29, 2014 6:25 PM, "Derek Foreman" > wrote: > >

[PATCH weston] pixman-renderer: copy_to_hw_buffer: don't leak output_region

2014-09-03 Thread Ryo Munakata
This was reported by Valgrind. Signed-off-by: Ryo Munakata --- src/pixman-renderer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pixman-renderer.c b/src/pixman-renderer.c index 351f00e..2c26c3a 100644 --- a/src/pixman-renderer.c +++ b/src/pixman-renderer.c @@ -457,6 +457,7 @@ copy_to

Re: [PATCH wayland] Add "enum" attribute to "arg" elements

2014-09-03 Thread Pekka Paalanen
On Wed, 3 Sep 2014 15:03:55 +0200 "Nils Chr. Brause" wrote: > Another possibility would of course be to add an 'is_bitfield="true"' > attribute to enum elements that are actually bit fields instead of using > 'bitfield' elements. Every sanely written scanner should be able to cope > with that, sh

Re: [PATCH] doc/publican: stop excessive rebuilds

2014-09-03 Thread Pekka Paalanen
On Tue, 2 Sep 2014 09:50:14 +1000 Peter Hutterer wrote: > Traced down to the server/client target always rebuilding, causing a rebuild > of everything else. Rework this so the target name is a file we actually > produce and can check for a timestamp. > > Note: this also changes the generated fil

Re: [PATCH] pixman-renderer: fail to zoom more gracefully

2014-09-03 Thread Pekka Paalanen
On Mon, 1 Sep 2014 10:33:28 -0500 Derek Foreman wrote: > When zoom is activated in the pixman rendered the log is filled with warnings > and all rendering stops. With this patch the warning is generated once and > rendering continues without zooming. > > Closes bug 80258 > --- > src/pixman-re

Re: [PATCH weston] xwm: Check whether the seat is NULL when needed in weston_wm_handle_button

2014-09-03 Thread Pekka Paalanen
On Wed, 3 Sep 2014 17:25:30 +0800 Boyan Ding wrote: > XCB and wayland input event handling exists together in xwm, which can > cause problems. weston_wm_handle_button is called via XCB events, while > it calls weston_wm_pick_seat_for_window, which uses info from compositor > (pure wayland). It i

Re: [PATCH wayland] Add "enum" attribute to "arg" elements

2014-09-03 Thread Nils Chr. Brause
Another possibility would of course be to add an 'is_bitfield="true"' attribute to enum elements that are actually bit fields instead of using 'bitfield' elements. Every sanely written scanner should be able to cope with that, shouldn't it? On Wed, Sep 3, 2014 at 1:09 PM, Nils Chr. Brause wrote

Re: [PATCH weston] configure.ac: consider --disable-compat-libs in systemd

2014-09-03 Thread Pekka Paalanen
On Fri, 4 Jul 2014 19:53:20 +0300 Valentin Popa wrote: > Since version 209 of systemd, libsystemd-login has been merged > into libsystemd.so. > > http://lists.freedesktop.org/archives/systemd-devel/2014-February/017146.html > > This patch handles the case when systemd is built > without --enab

Re: [PATCH 2/2 weston v2] compositor: add an option to set the default numlock value

2014-09-03 Thread Pekka Paalanen
On Thu, 28 Aug 2014 19:44:10 +0300 Giulio Camuffo wrote: > Add a new "numlock-on" option in the [keyboard] section of weston.ini > which, if set to true, is used to enable the numlock of the keyboards > attached at startup. > --- > man/weston.ini.man | 6 ++ > src/compositor.c | 13 ++

Re: [PATCH wayland] Add "enum" attribute to "arg" elements

2014-09-03 Thread Nils Chr. Brause
I see. In that case, I'll have to maintain my own xml file for my C++ bindings. Thanks, Nils On Wed, Sep 3, 2014 at 10:20 AM, Pekka Paalanen wrote: > On Wed, 3 Sep 2014 10:28:30 +0300 > Giulio Camuffo wrote: > > > 2014-09-03 10:15 GMT+03:00 Pekka Paalanen : > > > On Mon, 1 Sep 2014 22:07:44

[PATCH weston] xwm: Check whether the seat is NULL when needed in weston_wm_handle_button

2014-09-03 Thread Boyan Ding
XCB and wayland input event handling exists together in xwm, which can cause problems. weston_wm_handle_button is called via XCB events, while it calls weston_wm_pick_seat_for_window, which uses info from compositor (pure wayland). It is also true in setting and removing flags of frames. Races can

Re: [PATCH wayland] Add "enum" attribute to "arg" elements

2014-09-03 Thread Pekka Paalanen
On Wed, 3 Sep 2014 10:28:30 +0300 Giulio Camuffo wrote: > 2014-09-03 10:15 GMT+03:00 Pekka Paalanen : > > On Mon, 1 Sep 2014 22:07:44 +0200 > > "Nils Chr. Brause" wrote: > > > >> On Mon, Sep 1, 2014 at 10:45 AM, Pekka Paalanen > >> wrote: > > > >> > Another problem with this patch is that whil

Re: [PATCH wayland] Add "enum" attribute to "arg" elements

2014-09-03 Thread Giulio Camuffo
2014-09-03 10:15 GMT+03:00 Pekka Paalanen : > On Mon, 1 Sep 2014 22:07:44 +0200 > "Nils Chr. Brause" wrote: > >> On Mon, Sep 1, 2014 at 10:45 AM, Pekka Paalanen wrote: > >> > Another problem with this patch is that while it adds new syntax to the >> > protocol XML, it does not add anything that w

Re: [PATCH wayland] Add "enum" attribute to "arg" elements

2014-09-03 Thread Pekka Paalanen
On Mon, 1 Sep 2014 22:07:44 +0200 "Nils Chr. Brause" wrote: > On Mon, Sep 1, 2014 at 10:45 AM, Pekka Paalanen wrote: > > Another problem with this patch is that while it adds new syntax to the > > protocol XML, it does not add anything that would either explain nor > > validate/enforce it. (We

Re: how to make Xwayland auto start on tizen-ivi-3.0 image

2014-09-03 Thread Pekka Paalanen
On Tue, 2 Sep 2014 10:14:44 +0800 "Steve (YiLiang) Zhou" wrote: > Thanks Geoffroy, > > Your information is very important for me , I'm sure that xwayland > module is loaded , so is it possible that I startup Weston with root > and start a shell script automatically which execute xwayland in it