[weston PATCH v6 7/7] clients:add the test case for set_fullscreen

2012-02-16 Thread juan . j . zhao
From: Juan Zhao F12:default F11:scale F10:driver F9:fill F7: set toplevel to back --- clients/Makefile.am |6 +- clients/simple-rect.c | 681 + 2 files changed, 686 insertions(+), 1 deletions(-) create mode 100644 clients/simple-rect.c dif

[weston PATCH v6 6/7] shell: fix the following issues for fullscreen

2012-02-16 Thread juan . j . zhao
From: Juan Zhao --- src/shell.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/shell.c b/src/shell.c index 1d95313..9ef666f 100644 --- a/src/shell.c +++ b/src/shell.c @@ -71,7 +71,6 @@ struct wl_shell { } screensaver; }; -/*FIXME:Using bit flag

[weston PATCH v6 5/7] compostior:update the drm backend fullscreen paint part

2012-02-16 Thread juan . j . zhao
From: Juan Zhao --- src/compositor-drm.c | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 623799f..d94ef5c 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -149,7 +149,7 @@ drm_output_repaint(

[weston PATCH v6 4/7] shell:update the scale and fill method

2012-02-16 Thread juan . j . zhao
From: Juan Zhao --- src/compositor.h |2 ++ src/shell.c | 30 +- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/src/compositor.h b/src/compositor.h index aa62c81..94f5cc3 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -292,6 +292,8

[weston PATCH v6 3/7] Shell: Hide panels when we have a top fullscreen surface.

2012-02-16 Thread juan . j . zhao
From: Zhiwen Wu 1.Add a struct wl_list wl_shell::hidden_panels to store the hidden panels. 2.Add a hook weston_shell:prepare_repaint to do the stacking adjustment before output repainting. 3.In the hook, check that if we had a top and fullscreen surface. If yes, remove the panel surface fr

[weston PATCH v6 2/7] shell:update default method

2012-02-16 Thread juan . j . zhao
From: Juan Zhao --- src/shell.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/shell.c b/src/shell.c index b77cef3..e0c8f07 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1303,10 +1303,6 @@ weston_surface_set_fullscreen(struct weston_surface *surface)

[weston PATCH v6 1/7] compositor, shell: add fullscreen implementation shell part

2012-02-16 Thread juan . j . zhao
From: Juan Zhao --- clients/window.c |3 +- src/compositor-drm.c | 10 - src/compositor.c |5 ++- src/compositor.h | 11 +- src/shell.c | 97 +- 5 files changed, 103 insertions(+), 23 deletions(-) diff --

[wayland PATCH v6] add fullscreen protocol

2012-02-16 Thread juan . j . zhao
From: Juan Zhao Map the surface as a fullscreen surface. On the output the surface is assigned to. Leaving it to NULL will allow the compositor to choose one output. The client can use different fulllscreen method to fix the size mismatch issue: default, scale, driver and fill. Hints to indicate

[PATCH or PULL v6] add fullscreen protocol and implementation

2012-02-16 Thread juan . j . zhao
From: Juan Zhao v6: rebase the fullscreen part, we implemented default, scale, and fill method. For that window stacking part, these patches are still based on current stacking method. We can discuss in some other thread to discuss the window stacking method: how and when, and what's

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

2012-02-16 Thread zhiwen . wu
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 pending_fs_surf_fb_id has no chance to reset to 0, and the output will still scano

RE: [PATCH] [RFC]Shell: Hide panels when compositor has a top fullscreen surface.

2012-02-16 Thread wuzhiwen
Hi Bill, Thanks for your reply. I summarized my scheme as following: 1. Make the panels always atop the top regular window. This means no hiding operation to panels, all things is about stacking adjustment. Compositor will check the window status and adjust the stacking every time before it repa

Re: [PATCH] [RFC]Shell: Hide panels when compositor has a top fullscreen surface.

2012-02-16 Thread Juan Zhao
On 02/17/2012 04:55 AM, Bill Spitzak wrote: Juan Zhao wrote: If the top regular surface does not occupy the full screen, you can still click on that underlying fullscreen surface to active and raise it. I do not understand why this defeats the whole purpose of letting other surfaces be above

Re: [PATCH] window: Use new xkbcommon include path

2012-02-16 Thread Daniel Stone
Hi, 2012/2/16 Kristian Høgsberg : > 2012/2/16 Daniel Stone : >> 2012/2/16 Kristian Høgsberg : >>> Thanks, applied.  Looks better, but what about standalone keysyms and >>> modifier masks? >> >> Thanks, but, 'standalone'? I'm not quite sure I follow ... > > I've been thinking about whether we shoul

Re: [PATCH] window: Use new xkbcommon include path

2012-02-16 Thread Kristian Høgsberg
2012/2/16 Daniel Stone : > Hi, > > 2012/2/16 Kristian Høgsberg : >> On Wed, Feb 15, 2012 at 11:33 AM, Daniel Stone wrote: >>> xkbcommon in current git has moved its include files. >> >> Thanks, applied.  Looks better, but what about standalone keysyms and >> modifier masks? > > Thanks, but, 'stand

Re: [PATCH] window: Use new xkbcommon include path

2012-02-16 Thread Daniel Stone
Hi, 2012/2/16 Kristian Høgsberg : > On Wed, Feb 15, 2012 at 11:33 AM, Daniel Stone wrote: >> xkbcommon in current git has moved its include files. > > Thanks, applied.  Looks better, but what about standalone keysyms and > modifier masks? Thanks, but, 'standalone'? I'm not quite sure I follow ..

Re: Passive and active attacks via X11. Is Wayland any better?

2012-02-16 Thread Daniel Stone
Hi, On 16 February 2012 18:36, frqb4td wrote: > One application can sniff or inject keystrokes to another one, can take > snapshots of the screen occupied by windows belonging to another one, etc. That's more or less irrelevant really. If you give session access to hostile apps, they could easi

Re: [PATCH] window: Use new xkbcommon include path

2012-02-16 Thread Kristian Høgsberg
On Wed, Feb 15, 2012 at 11:33 AM, Daniel Stone wrote: > xkbcommon in current git has moved its include files. Thanks, applied. Looks better, but what about standalone keysyms and modifier masks? Kristian > Signed-off-by: Daniel Stone > --- >  clients/window.c |    2 +- >  clients/window.h |  

Re: [PATCH] [RFC]Shell: Hide panels when compositor has a top fullscreen surface.

2012-02-16 Thread Bill Spitzak
Juan Zhao wrote: If the top regular surface does not occupy the full screen, you can still click on that underlying fullscreen surface to active and raise it. I do not understand why this defeats the whole purpose of letting other surfaces be above that fullscreen surface. Because it will rai

Passive and active attacks via X11. Is Wayland any better?

2012-02-16 Thread frqb4td
In "The Linux Security Circus: On GUI isolation" (link: http://theinvisiblethings.blogspot.com/2011/04/linux-security-circus-on-gui-isolation.html ) - The Invisible Things Lab's blog, Joanna Rutkowska describes attacks from one X11 app on another and the general problem of the lack of GUI-level

Re: [PATCH] window: Use new xkbcommon include path

2012-02-16 Thread Andrew Guertin
On 02/15/2012 11:33 AM, Daniel Stone wrote: > xkbcommon in current git has moved its include files. This also needs to be fixed in GTK, and probably other toolkits too. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.free

Re: [PATCH 5/7] shell: update position of surfaces with type none on map()

2012-02-16 Thread Pekka Paalanen
On Thu, 16 Feb 2012 16:42:03 +0200 Ander Conselvan de Oliveira wrote: > On 02/16/2012 09:56 AM, Pekka Paalanen wrote: > >> This changes shell->map interface to take sx and sy parameters and > >> change dekstop shell implementation to update the position of a > >> surface of type none according to

Re: [PATCH 5/7] shell: update position of surfaces with type none on map()

2012-02-16 Thread Ander Conselvan de Oliveira
On 02/16/2012 09:56 AM, Pekka Paalanen wrote: This changes shell->map interface to take sx and sy parameters and change dekstop shell implementation to update the position of a surface of type none according to those parameters. Since a surface of type none won't actually be mapped, the effect of

Re: [PATCH] window: Use constant keycode offset of 8

2012-02-16 Thread Tiago Vignatti
On 02/16/2012 02:48 PM, Daniel Stone wrote: The X11 compositor currently posts its key presses as keycode - 8; this is due to X11 having a historical minimum keycode of 8, whereas evdev is numbered starting from 1. So while the KEY_* constants begin with KEY_ESC at 1, the corresponding keycode i

Re: spec: Fix the escaping of special characters in Interfaces section

2012-02-16 Thread Tiago Vignatti
On 02/16/2012 03:46 PM, Michael Hasselmann wrote: On Thu, 2012-02-16 at 15:40 +0200, Tiago Vignatti wrote: On 02/16/2012 01:42 PM, Michael Hasselmann wrote: Hi, just noticed these small issues while going through the available Wayland documentation. FYI, this short-circuit with the idea of d

Re: spec: Fix the escaping of special characters in Interfaces section

2012-02-16 Thread Michael Hasselmann
On Thu, 2012-02-16 at 15:40 +0200, Tiago Vignatti wrote: > On 02/16/2012 01:42 PM, Michael Hasselmann wrote: > > Hi, > > > > just noticed these small issues while going through the available > > Wayland documentation. > > FYI, this short-circuit with the idea of dynamically dump the interfaces >

Re: spec: Fix the escaping of special characters in Interfaces section

2012-02-16 Thread Tiago Vignatti
On 02/16/2012 01:42 PM, Michael Hasselmann wrote: Hi, just noticed these small issues while going through the available Wayland documentation. FYI, this short-circuit with the idea of dynamically dump the interfaces on the doc - check last commit there mainly: http://cgit.freedesktop.org/~v

[PATCH] window: Use constant keycode offset of 8

2012-02-16 Thread Daniel Stone
The X11 compositor currently posts its key presses as keycode - 8; this is due to X11 having a historical minimum keycode of 8, whereas evdev is numbered starting from 1. So while the KEY_* constants begin with KEY_ESC at 1, the corresponding keycode in both X11 and the XKB keymaps is 9. window,

spec: Fix the escaping of special characters in Interfaces section

2012-02-16 Thread Michael Hasselmann
Hi, just noticed these small issues while going through the available Wayland documentation. regards, Michael >From cf98b94497fc8e9a2e9eb5c2f99a9b21f20fe1d0 Mon Sep 17 00:00:00 2001 From: Michael Hasselmann Date: Thu, 16 Feb 2012 11:55:32 +0100 Subject: [PATCH] spec: Fix the escaping of special

Re: [PATCH v2 0/2] Logging functions

2012-02-16 Thread Üstün Ergenoglu
On 15 February 2012 16:29, Tiago Vignatti wrote: > On 02/14/2012 12:30 AM, Ustun Ergenoglu wrote: >> >> From: Üstün Ergenoğlu >> >> Here's another attempt to add some logging functionality, this time on >> Weston >> instead of Wayland as Thiago suggested. In addittion, I added the WL_LOG_* >> macr