Re: Developing a core shell protocol

2013-02-11 Thread Kai-Uwe Behrmann
On 11.02.2013 11:06, Pekka Paalanen wrote: > I want to make sure again, that when we talk about shells in Wayland, > we usually talk about public shell interfaces in the protocol. Therefore > all of Linux desktop, regardless of DE or its components (KDE, Gnome, > gnome-shell, kwin, ...) are under t

Re: Developing a core shell protocol

2013-02-11 Thread Bill Spitzak
Kristian Høgsberg wrote: As I mentioned briefly in IRC, I don't think there really is a core subset. Almost everything in wl_shell is desktop specific. I really feel clients should be able to call any of the shell api, but be prepared for only a minimal amount of results to happen. If a shel

[PATCH weston 2/2 v2] shell: Add resize-from-center binding

2013-02-11 Thread Scott Moreau
Each binding is a specific key combination which means 'mod+button' is not the same as 'mod|shift+button'. The new resize functionality detects shift button state to toggle modes during the resize grab. However, attempting to initiate a grab with mod|shift+button fails (when not clicking a grabbabl

Re: [PATCH xf86-video-ati] xwayland: Use new DRI2 AuthMagic3

2013-02-11 Thread Kristian Høgsberg
On Mon, Feb 11, 2013 at 02:40:46PM -0500, Darxus wrote: > Update for > http://cgit.freedesktop.org/xorg/xserver/commit/?h=xwayland-1.12&id=e4566c049c7b385e2307fef3c72ef61762729f42 > based on > http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?h=xwayland&id=bb4e7c69349ae1ea6aca36977

Re: Developing a core shell protocol

2013-02-11 Thread Kristian Høgsberg
On Mon, Feb 11, 2013 at 10:52:00AM -0600, Jason Ekstrand wrote: > On Mon, Feb 11, 2013 at 4:06 AM, Pekka Paalanen wrote: > > On Sat, 9 Feb 2013 12:20:57 -0600 > > Jason Ekstrand wrote: > > > >> Wayland Devs, > >> This is a brainstorming e-mail concerning trying to develop some sort > >> of core s

Re: [PATCH weston] Use __func__ in log message instead of hard coded function name

2013-02-11 Thread Kristian Høgsberg
On Mon, Feb 11, 2013 at 04:45:38AM -0700, Scott Moreau wrote: > --- > src/compositor.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. Kristian > diff --git a/src/compositor.c b/src/compositor.c > index 8a2504b..994f814 100644 > --- a/src/compositor.c > +++ b/src/com

Re: Developing a core shell protocol

2013-02-11 Thread Kristian Høgsberg
On Sat, Feb 09, 2013 at 12:20:57PM -0600, Jason Ekstrand wrote: > Wayland Devs, > This is a brainstorming e-mail concerning trying to develop some sort > of core shell protocol. I will shortly begin work on developing a > touch-based compositor for phones and tablets and there have been > multiple

[PATCH xf86-video-nouveau] xwayland: Use new DRI2 AuthMagic3

2013-02-11 Thread Darxus
Update for http://cgit.freedesktop.org/xorg/xserver/commit/?h=xwayland-1.12&id=e4566c049c7b385e2307fef3c72ef61762729f42 based on http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?h=xwayland&id=bb4e7c69349ae1ea6aca36977e0d01bea2966564 --- Patch is for https://github.com/RAOF/xf86-v

[PATCH xf86-video-ati] xwayland: Use new DRI2 AuthMagic3

2013-02-11 Thread Darxus
Update for http://cgit.freedesktop.org/xorg/xserver/commit/?h=xwayland-1.12&id=e4566c049c7b385e2307fef3c72ef61762729f42 based on http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?h=xwayland&id=bb4e7c69349ae1ea6aca36977e0d01bea2966564 --- Patch is for https://github.com/RAOF/xf86-v

Re: Developing a core shell protocol

2013-02-11 Thread David Herrmann
Hi Jason On Mon, Feb 11, 2013 at 5:52 PM, Jason Ekstrand wrote: > Perhaps I should be asking a better question. That question would be, > How should alternate compositors be handled? Perhaps the best answer > isn't to change wl_shell, but to simply break it in a reasonable way > such as ignorin

Re: Developing a core shell protocol

2013-02-11 Thread Nick Kisialiou
Are you thinking of developing a new phone OS on Wayland/Weston? I seem to remember Tizen folks wanted to do something similar. Not sure if it's still in the works. Nick On Mon, Feb 11, 2013 at 8:52 AM, Jason Ekstrand wrote: > On Mon, Feb 11, 2013 at 4:06 AM, Pekka Paalanen > wrote: > > On Sat

Re: Developing a core shell protocol

2013-02-11 Thread Jason Ekstrand
On Mon, Feb 11, 2013 at 4:06 AM, Pekka Paalanen wrote: > On Sat, 9 Feb 2013 12:20:57 -0600 > Jason Ekstrand wrote: > >> Wayland Devs, >> This is a brainstorming e-mail concerning trying to develop some sort >> of core shell protocol. I will shortly begin work on developing a >> touch-based compo

[PATCH weston] tests: add buffer release test for implicit attach

2013-02-11 Thread Pekka Paalanen
The protocol specification says: - when a wl_buffer is attached, it becomes pending - when a pending wl_buffer is committed, it becomes current and stays as pending Therefore, a wl_buffer becomes busy without an explicit attach, if it was already pending from a previous attach. Excercise this p

[PATCH 0/3] Add language and text-direction to text protocol

2013-02-11 Thread Jan Arne Petersen
From: Jan Arne Petersen The proposed API allows to send the language and text-direction for inserted text from an input-method to an application. It also allows an application to specify a preferred language for the input. This could be used by an application to set a language by context or to

[PATCH 2/3] text: Add language and text-direction to protocol

2013-02-11 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- clients/editor.c | 20 - clients/keyboard.c | 54 ++ clients/weston-simple-im.c | 54 ++ protocol/input-method.x

[PATCH 1/3] shell: Fix bug when input panel is shown twice

2013-02-11 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- src/shell.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/shell.c b/src/shell.c index 6e0db35..8c3a452 100644 --- a/src/shell.c +++ b/src/shell.c @@ -2772,6 +2772,9 @@ show_input_panels(struct wl_listener *listener, void

[PATCH 3/3] text: Add example for language/text direction

2013-02-11 Thread Jan Arne Petersen
From: Jan Arne Petersen Signed-off-by: Jan Arne Petersen --- clients/editor.c | 36 +- clients/keyboard.c | 89 -- 2 files changed, 121 insertions(+), 4 deletions(-) diff --git a/clients/editor.c b/clients/editor.c index

[PATCH weston 2/2] shell: Add resize-from-center binding

2013-02-11 Thread Scott Moreau
Each binding is a specific key combination which means 'mod+button' is not the same as 'mod|shift+button'. The new resize functionality detects shift button state to toggle modes during the resize grab. However, attempting to initiate a grab with mod|shift+button fails (when not clicking a grabbabl

[PATCH weston 1/2 v3] shell: Implement resize-from-center mode

2013-02-11 Thread Scott Moreau
Toggles between normal and resize-from-center mode when shift is pressed. --- v3: Compositor-side-only shell implementation. Resize from center is a fairly simple algorithm but it becomes complicated when switching between modes without releasing the grab. The majority of the code handles placing

[PATCH weston] Use __func__ in log message instead of hard coded function name

2013-02-11 Thread Scott Moreau
--- src/compositor.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor.c b/src/compositor.c index 8a2504b..994f814 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -327,7 +327,7 @@ weston_surface_to_global_float(struct weston_surface *surface,

Re: Developing a core shell protocol

2013-02-11 Thread Pekka Paalanen
On Sat, 9 Feb 2013 12:20:57 -0600 Jason Ekstrand wrote: > Wayland Devs, > This is a brainstorming e-mail concerning trying to develop some sort > of core shell protocol. I will shortly begin work on developing a > touch-based compositor for phones and tablets and there have been > multiple discu

Re: [PATCH v2 weston 1/2] shell: Implement the probe_area request on the shell surface

2013-02-11 Thread Pekka Paalanen
On Fri, 8 Feb 2013 16:52:57 + Rob Bradford wrote: > From: Rob Bradford > Hi Rob, at least this version is not using weston_surface::geometry.{x,y} directly anymore, thanks for that. Unfortunately, the problem is more complex, more below. However, I don't think this is a critical problem