Re: Gamepad focus model (Re: Input and games.)

2013-05-12 Thread David Herrmann
Hi On Mon, May 13, 2013 at 8:14 AM, Pekka Paalanen wrote: > On Mon, 13 May 2013 09:12:03 +1000 > Peter Hutterer wrote: > >> On Fri, May 10, 2013 at 10:41:45AM +0300, Pekka Paalanen wrote: >> > On Thu, 9 May 2013 16:44:09 +1000 >> > Peter Hutterer wrote: >> > >> > > On Mon, May 06, 2013 at 03:36

Re: [PATCH weston v4 1/4] shell: Use relative layers for lock/unlock

2013-05-12 Thread Pekka Paalanen
On Sun, 12 May 2013 11:09:32 +0200 Quentin Glidic wrote: > From: Quentin Glidic The commit message here should state why this change is needed, and what it does on a high level. I can guess, but I'd like it written out also for posterity. Thanks, pq > > Signed-off-by: Quentin Glidic > ---

Re: Gamepad focus model (Re: Input and games.)

2013-05-12 Thread Pekka Paalanen
On Mon, 13 May 2013 09:12:03 +1000 Peter Hutterer wrote: > On Fri, May 10, 2013 at 10:41:45AM +0300, Pekka Paalanen wrote: > > On Thu, 9 May 2013 16:44:09 +1000 > > Peter Hutterer wrote: > > > > > On Mon, May 06, 2013 at 03:36:20PM +0300, Pekka Paalanen wrote: > > > [...] > > > > I had a privat

Re: [PATCH] config-parser: Honor the XDG_CONFIG_DIRS environment variable

2013-05-12 Thread Othman, Ossama
Hi Kristian, On Sun, May 12, 2013 at 8:54 AM, Kristian Høgsberg wrote: > > I think we can change the interface to int open_config_file(const char > *), which looks up and opens the config file and returns the fd. We > can keep that in weston_compositor instead of the config_file path. > The parse

Re: Gamepad focus model (Re: Input and games.)

2013-05-12 Thread Peter Hutterer
On Fri, May 10, 2013 at 10:41:45AM +0300, Pekka Paalanen wrote: > On Thu, 9 May 2013 16:44:09 +1000 > Peter Hutterer wrote: > > > On Mon, May 06, 2013 at 03:36:20PM +0300, Pekka Paalanen wrote: > > [...] > > > I had a private chat with Daniel, and we came to an understanding, > > > which I try to

Re: [RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-12 Thread Todd Showalter
On Sun, May 12, 2013 at 10:20 AM, David Herrmann wrote: > So what is the proposed solution? > My recommendation is, that compositors still search for devices via > udev and use device drivers like libxkbcommon. So linux evdev handling > is still controlled by the compositor. However, I'd like to

Re: [PATCH] config-parser: Honor the XDG_CONFIG_DIRS environment variable

2013-05-12 Thread Kristian Høgsberg
On Sun, May 12, 2013 at 11:54 AM, Kristian Høgsberg wrote: > Hi Ossama, > > I think we can change the interface to int open_config_file(const char > *), which looks up and opens the config file and returns the fd. We > can keep that in weston_compositor instead of the config_file path. > The pars

Re: [PATCH] config-parser: Honor the XDG_CONFIG_DIRS environment variable

2013-05-12 Thread Kristian Høgsberg
Hi Ossama, I think we can change the interface to int open_config_file(const char *), which looks up and opens the config file and returns the fd. We can keep that in weston_compositor instead of the config_file path. The parse function can then fseek on the fd to reset to the beginning of the fi

[RFC] libinputmapper: Input device configuration for graphic-servers

2013-05-12 Thread David Herrmann
[bcc to gnome-shell-list and kwin, to keep discussion on wayland-devel] Hi Without a generic graphics-server like xserver, compositors need to handle input devices themselves if run as wayland compositors. To avoid having several different conflicting implementations, I wrote up a small proposal

[PATCH weston v4 4/4] clients: Add simple-notification

2013-05-12 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- clients/.gitignore| 3 + clients/Makefile.am | 11 ++ clients/simple-notification.c | 391 ++ 3 files changed, 405 insertions(+) create mode 100644 clients/simple-notificatio

[PATCH weston v4 3/4] shell: Implement notification_daemon

2013-05-12 Thread Quentin Glidic
From: Quentin Glidic Implement the "bubbles list" style notifications. Corner anchor, margin and order can be changed in the configuration. Signed-off-by: Quentin Glidic --- src/.gitignore| 2 + src/Makefile.am | 17 +++ src/notification-daemon.c | 266

[PATCH weston v4 2/4] protocol: Add notification_daemon interface

2013-05-12 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- protocol/Makefile.am | 1 + protocol/notification-daemon.xml | 50 2 files changed, 51 insertions(+) create mode 100644 protocol/notification-daemon.xml diff --git a/protocol/Makefile.

[PATCH weston v4 1/4] shell: Use relative layers for lock/unlock

2013-05-12 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- src/shell.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/shell.c b/src/shell.c index 135eaa5..456e911 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2501,19 +2501,16 @@ resume_desktop(struct des

[no subject]

2013-05-12 Thread Quentin Glidic
This patch series introduce the notification_daemon interface. It is intended to be the standard Weston interface that all non-DE (and probably Weston-based) compositors will have to support. The current supported layouts are limited to the “bubbles list”, which is the most common one. Other layou

Re: [PATCH weston] shell: Use relative layers for lock/unlock

2013-05-12 Thread Quentin Glidic
Sorry, wrong patch. This one is part of a patch series I’ll send soon. -- Quentin “Sardem FF7” Glidic ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH weston] shell: Add a lock binding

2013-05-12 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- src/shell.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/shell.c b/src/shell.c index 5da649d..135eaa5 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2705,6 +2705,15 @@ zoom_axis_binding(struct weston_seat *seat, uint

[PATCH weston] shell: Use relative layers for lock/unlock

2013-05-12 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- src/shell.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/shell.c b/src/shell.c index 135eaa5..456e911 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2501,19 +2501,16 @@ resume_desktop(struct des