[PATCH RFC] protocol: add xslt stylesheet to prettify the protocol

2012-02-22 Thread Peter Hutterer
Includes rudimentary styling only. Signed-off-by: Peter Hutterer --- A few things to note: - I'm not a designer - Having a html version of the protocol makes it a lot easier to read, and it certainly reveals missing bits of documentation in the protocol - the .css file is the one from wayland.f

[PATCH 4/4] protocol: fix missing hyphenation for "client-created"

2012-02-22 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- protocol/wayland.xml |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index a40e4b0..b274354 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -34,7 +34,7 @@ -

[PATCH 3/4] scanner: Remove unused variable 'len'

2012-02-22 Thread Peter Hutterer
scanner.c: In function ‘desc_dump’: scanner.c:142:42: warning: unused variable ‘len’ [-Wunused-variable] Signed-off-by: Peter Hutterer --- src/scanner.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/scanner.c b/src/scanner.c index 699782f..91e2ad2 100644 --- a/src

[PATCH 2/4] spec: padding bytes are undefined, state so

2012-02-22 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- spec/main.tex |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/spec/main.tex b/spec/main.tex index b6fcc4e..017427a 100644 --- a/spec/main.tex +++ b/spec/main.tex @@ -162,7 +162,8 @@ The message header has 2 words in it: \end{itemize}

[PATCH 1/4] spec: typo and wording fixes

2012-02-22 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- spec/main.tex |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/main.tex b/spec/main.tex index 59d4fe0..b6fcc4e 100644 --- a/spec/main.tex +++ b/spec/main.tex @@ -125,9 +125,9 @@ the type of event. Events are generated both in re

Re: Touch events

2012-02-22 Thread Peter Hutterer
On Tue, Feb 21, 2012 at 04:25:39PM -0500, Kristian Høgsberg wrote: > 2012/2/21 Chase Douglas : > > On 02/21/2012 09:16 PM, Kristian Høgsberg wrote: > >> 2012/2/20 Chase Douglas : > >>> On 02/17/2012 06:01 PM, Kristian Høgsberg wrote: >  - input protocol restructuring: break up events into wl_p

Re: Touch events

2012-02-22 Thread Chase Douglas
On 02/21/2012 09:15 PM, Bill Spitzak wrote: > Daniel Stone wrote: >> Hi, >> >> On 22 February 2012 00:13, Bill Spitzak wrote: >>> It seems like it would be better if clients got the touch events first, and >>> the compositor only did things if the client said it was uninterested in the >>> events.

Re: concerns over wayland and need for wayland app display to X Server

2012-02-22 Thread Daniel Stone
Hi, On 22 February 2012 21:34, David Jackson wrote: > As I mentioned, counting on applications is really not a reliable method, > some programmers are sloppy and wont do it. The capability really needs to > be somewhere in wayland to sort of be able to count on it. Toolkits deal with these kinds

Re: concerns over wayland and need for wayland app display to X Server

2012-02-22 Thread David Jackson
On Tue, Feb 21, 2012 at 4:15 AM, Pekka Paalanen wrote: > On Mon, 20 Feb 2012 23:52:55 -0500 > David Jackson wrote: > > > I am asking for the ability to display a wayland app to an X server. My > > original suggestion was perhaps can be done via a runtime loadable client > > side driver that wou

[RFC v4] Introduce output zoom.

2012-02-22 Thread Scott Moreau
Ideally, we would want to use +Scroll binding but that will have to wait for axis events. For now we just use keybindings. Zoom in/out with Super+Up/Down. --- src/compositor.c | 68 ++ src/compositor.h | 14 +++ src/shell.c | 4

Output zoom

2012-02-22 Thread Scott Moreau
Fixed the declaration-before-code style error. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[RFC v3] Introduce output zoom.

2012-02-22 Thread Scott Moreau
Ideally, we would want to use +Scroll binding but that will have to wait for axis events. For now we just use keybindings. Zoom in/out with Super+Up/Down. --- src/compositor.c | 66 + src/compositor.h | 14 +++ src/shell.c | 48

Output zoom

2012-02-22 Thread Scott Moreau
Sorry, the last patch had a couple of flaws. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH] Fix pointer position clipping.

2012-02-22 Thread Scott Moreau
--- src/compositor.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 5a424fa..1963322 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1304,10 +1304,10 @@ notify_motion(struct wl_input_device *device, uint32_t time,

[RFC v2] Introduce output zoom.

2012-02-22 Thread Scott Moreau
Ideally, we would want to use +Scroll binding but that will have to wait for axis events. For now we just use keybindings. Zoom in/out with Super+Up/Down. --- src/compositor.c | 69 ++ src/compositor.h | 14 +++ src/shell.c | 4

Output zoom

2012-02-22 Thread Scott Moreau
Moving pointer near right and bottom edges is choppy due to a bug in the pointer position clipping code, for which I will submit a patch. So far as integer scaling goes, I imagine this wont be necessary once we use +Scroll when we have the means to do so. Nonetheless, it should be easy to implement

Re: [PATCH] compositor-drm: Fix output still scanout framebuffer after the scanout client was interrupted.

2012-02-22 Thread Kristian Hoegsberg
On Fri, Feb 17, 2012 at 11:57:58AM +0800, zhiwen...@linux.intel.com wrote: > From: Alex Wu > > If the scanout client was interrupted (e.g. by Ctrl-C), > compositor-drm.c::page_flip_handler() > was not guaranteed to be invoked for the last scanout > drmModePageFlip(), so that pen

Re: Towards 1.0

2012-02-22 Thread Kristian Hoegsberg
On Mon, Feb 20, 2012 at 04:00:21PM -0800, Andy Lutomirski wrote: > On 02/17/2012 09:01 AM, Kristian Høgsberg wrote: > > ICCCM > > > > - clipboard manager interface? what's needed? just notification > > that the selection has gone away. should the clipboard manager be > > able to take over the

Re: [PATCH] gbm: track buffer format through DRI drivers

2012-02-22 Thread Jesse Barnes
On Wed, 22 Feb 2012 12:42:59 -0500 Kristian Hoegsberg wrote: > On Tue, Feb 21, 2012 at 12:56:11PM -0800, Jesse Barnes wrote: > > GBM needs the buffer format in order to communicate with DRM and clients > > for things like scanout. > > > > So track the DRI format requested in the various back end

Re: [PATCH] gbm: track buffer format through DRI drivers

2012-02-22 Thread Kristian Hoegsberg
On Tue, Feb 21, 2012 at 12:56:11PM -0800, Jesse Barnes wrote: > GBM needs the buffer format in order to communicate with DRM and clients > for things like scanout. > > So track the DRI format requested in the various back ends and use it to > return the DRI format back to GBM when requested. GBM

Re: [PATCH] shell: Fix never map fullscreen/transient surface.

2012-02-22 Thread Kristian Hoegsberg
On Wed, Feb 22, 2012 at 02:50:46PM +0800, zhiwen...@linux.intel.com wrote: > From: Alex Wu > >If client send set_fullscreen/set_transient request before the first > attach, >compositor has no chance to map the surface due to "if (es->output == > NULL)". Ah yes, thanks. Committ

Re: Participating in Google Summer of Code 2012

2012-02-22 Thread Tiago Vignatti
On 02/21/2012 09:00 PM, Николай Антонов wrote: Hello, Wayland developers! Will you take part in Google Summer of Code 2012? definitely. Either under X.Org Foundation or just Wayland itself we're going to be accepting projects. Tiago ___ waylan

Re: Touch events

2012-02-22 Thread Mohamed Ikbel Boulabiar
On Wed, Feb 22, 2012 at 1:21 AM, Daniel Stone wrote: >  Because for a three-finger swipe, there > will be a time when there's only one finger down, or two.  At which > point the client will say, 'ah yes, I'm interested in this!'.  And > then the third finger lands and you regret a terrible design