Wayland color management protocol proposal

2013-06-18 Thread John Kåre Alsaker
Here is my current color management protocol for Wayland clients. The basic idea is that the compositor sends two color spaces to the clients. A compositing color space which the compositor prefers since it would require no conversions. A full-screen color space which the compositor can be able to

Re: Proposal to change subsurface extension

2013-06-18 Thread John Kåre Alsaker
I don't see a way to have a group of surfaces in sync with a video surface operating independently on top work in the current implementation without locking. It seems that only work for a single surface and not a group of surfaces. The current implementation then also requires the ability to map a

Who is having problems with hangs from the screensaver?

2013-06-18 Thread darxus
When I recently started trying to use weston (on DRM) again, I discovered any time I walked away from my computer, I came back to find it hung, with the light on the monitor saying it was getting no video input: https://bugs.freedesktop.org/show_bug.cgi?id=65802 A workaround is to run weston with

[PATCH wayland] Free non-legacy resources inside wl_resource_destroy

2013-06-18 Thread Jason Ekstrand
This commit makes wl_resource_destroy automatically free all non-legacy resource structures. Since wl_resource is now an opaque structure it doesn't make sense for the clients to be freeing it. This checks to make sure that it was added through wl_client_add_object or wl_client_new_object and not

Re: weston and hardware keyboard

2013-06-18 Thread Kristian Høgsberg
On Tue, Jun 18, 2013 at 4:15 AM, Marc Chalain wrote: > Hello, > linux/input.h gives numbers of key definitions. The keymap is only useful > for PC keyboard when only the layout change from one country to an other. On > device we have : on/off, softkey1, softkey2, 12 keys for the keypad in some > c

Re: weston and hardware keyboard

2013-06-18 Thread Marc Chalain
Hello, linux/input.h gives numbers of key definitions. The keymap is only useful for PC keyboard when only the layout change from one country to an other. On device we have : on/off, softkey1, softkey2, 12 keys for the keypad in some cases, home, back... The key codes are hard coded inside the kern

[PATCH v2 7/7] weston.ini: Allow a relative path for screensaver

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- Fixed "path" to be [PATH_MAX] and fixed the case where the path is NULL man/weston.ini.man | 3 ++- src/shell.c| 9 - weston.ini | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/man/weston.ini

Re: [PATCH weston 6/7] weston.ini: Allow a relative path for input-method

2013-06-18 Thread sardemff7+wayland
On 18/06/2013 09:11, Quentin Glidic wrote: From: Quentin Glidic Signed-off-by: Quentin Glidic --- man/Makefile.am| 1 + man/weston.ini.man | 3 ++- src/text-backend.c | 8 weston.ini | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/man/Makefile

[PATCH weston 6/7] weston.ini: Allow a relative path for input-method

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- man/Makefile.am| 1 + man/weston.ini.man | 3 ++- src/text-backend.c | 8 weston.ini | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/man/Makefile.am b/man/Makefile.am index 37174e2..b3a3881 10064

[PATCH weston 7/7] weston.ini: Allow a relative path for screensaver

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- man/weston.ini.man | 3 ++- src/shell.c| 8 +++- weston.ini | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/man/weston.ini.man b/man/weston.ini.man index e348c44..f6ad5c2 100644 --- a/man/weston.i

[PATCH weston 5/7] weston.pc: Provide moduledir

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic This allows modules to use the correct directory for the targeted Weston to install themselves. Signed-off-by: Quentin Glidic --- src/weston.pc.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/weston.pc.in b/src/weston.pc.in index 262b311..ad39b8f 100644 --- a/

[PATCH weston 4/7] clients: Install to pkglibexecdir

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- clients/Makefile.am | 2 +- src/Makefile.am | 2 +- src/screenshooter.c | 2 +- src/shell.c | 2 +- src/tablet-shell.c | 2 +- src/text-backend.c | 2 +- src/xwayland/Makefile.am | 3 --- 7 files

[PATCH weston 3/7] autotools: Use pkg*dir

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- data/Makefile.am | 4 +--- src/Makefile.am | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/data/Makefile.am b/data/Makefile.am index a7cc944..f6f05f9 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,6 +1,4

[PATCH weston 2/7] autotools: Define paths in configure.ac

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- configure.ac | 26 ++ man/Makefile.am | 2 +- src/Makefile.am | 2 -- src/weston.pc.in | 4 ++-- src/xwayland/Makefile.am | 1 - 5 files changed, 29 insertions(+), 6 deletion

[PATCH weston 1/7] weston.pc: Add dependencies for pixman-1 and xkbcommon

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic Weston headers include pixman and libxkbcommon headers Signed-off-by: Quentin Glidic --- src/weston.pc.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/weston.pc.in b/src/weston.pc.in index 828cb1f..7a09938 100644 --- a/src/weston.pc.in +++ b/src/weston.pc.in @@

[PATCH weston] shell: Free temporary strings

2013-06-18 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- src/shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shell.c b/src/shell.c index ceb963c..4447995 100644 --- a/src/shell.c +++ b/src/shell.c @@ -402,8 +402,10 @@ shell_configuration(struct desktop_shell *shell) west