Re: [PATCH weston] Add font entry to shell section for title fonts

2014-09-03 Thread Pekka Paalanen
On Tue, 2 Sep 2014 13:13:17 +0900 Ryo Munakata ryomnk...@gmail.com wrote: On Mon, 1 Sep 2014 14:05:42 +0300 Pekka Paalanen ppaala...@gmail.com wrote: On Thu, 28 Aug 2014 20:31:37 +0900 Hi, considering that the toytoolkit (well, shared/cairo-util.h here) uses cairo_show_text(),

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

2014-09-03 Thread Pekka Paalanen
On Mon, 01 Sep 2014 20:07:46 +0800 Boyan Ding stu_...@126.com wrote: On Mon, 2014-09-01 at 12:14 +0300, Pekka Paalanen wrote: On Fri, 29 Aug 2014 22:10:32 +0800 Boyan Ding stu_...@126.com wrote: Under some certain circumstances, pointer button may have been released when frame is

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 sz...@telecomsys.com 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

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 nilschrbra...@gmail.com wrote: On Mon, Sep 1, 2014 at 10:45 AM, Pekka Paalanen ppaala...@gmail.com 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

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 ppaala...@gmail.com: On Mon, 1 Sep 2014 22:07:44 +0200 Nils Chr. Brause nilschrbra...@gmail.com wrote: On Mon, Sep 1, 2014 at 10:45 AM, Pekka Paalanen ppaala...@gmail.com wrote: Another problem with this patch is that while it adds new syntax to the

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 giuliocamu...@gmail.com wrote: 2014-09-03 10:15 GMT+03:00 Pekka Paalanen ppaala...@gmail.com: On Mon, 1 Sep 2014 22:07:44 +0200 Nils Chr. Brause nilschrbra...@gmail.com wrote: On Mon, Sep 1, 2014 at 10:45 AM, Pekka Paalanen

[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 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 giuliocamu...@gmail.com 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 ++

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 valentin.p...@intel.com 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

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

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 stu_...@126.com 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

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 der...@osg.samsung.com 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 ---

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

2014-09-03 Thread Pekka Paalanen
On Tue, 2 Sep 2014 09:50:14 +1000 Peter Hutterer peter.hutte...@who-t.net 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

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

[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 ryomnk...@gmail.com --- 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 @@

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 ppaala...@gmail.com wrote: On Mon, 1 Sep 2014 22:07:44 +0200 Nils Chr. Brause nilschrbra...@gmail.com 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

[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 nilschrbra...@googlemail.com Date: Wed, 3 Sep 2014 19:18:28 +0200 Subject:

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 manuel.bachm...@open.eurogiciel.org: 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

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 https://github.com/sebastianskejoe/gowl implementation of the wayland protocol and noticed

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

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 stu_...@126.com 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

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