Re: Authorized clients

2014-01-07 Thread Jasper St. Pierre
As Stef Walters explains in his excellent GUADEC talk from last year, never prompt the user to make a security decision while they're trying to do something. You will get worse results than random chance. [0] UAC is fairly unpopular with people. If I'm launching something like SSR or OBS to stream

Re: Authorized clients

2014-01-07 Thread Pekka Paalanen
On Tue, 7 Jan 2014 15:00:31 -0500 "Jasper St. Pierre" wrote: > On Tue, Jan 7, 2014 at 2:43 PM, Pekka Paalanen > wrote: > > > On Tue, 7 Jan 2014 14:26:36 -0500 > > "Jasper St. Pierre" wrote: > > > > > On Tue, Jan 7, 2014 at 9:07 AM, Martin Peres > > > wrote: > > > > > > > Would it be ok for yo

Re: [PATCH 1/2] exposay: fix infinite loop with fullscreen surfaces

2014-01-07 Thread Kristian Høgsberg
On Tue, Jan 07, 2014 at 04:41:39PM +0100, poch...@gmail.com wrote: > From: Emilio Pozuelo Monfort > > We were calling exposay_highlight_surface() inside a wl_list_for_each > loop for a layer, but exposay_highlight_surface() calls activate() > which calls shell_surface_update_layer(), which remove

Re: [PATCH 2/2] exposay: set an alpha on fullscreen surfaces

2014-01-07 Thread Kristian Høgsberg
On Tue, Jan 07, 2014 at 04:41:40PM +0100, poch...@gmail.com wrote: > From: Emilio Pozuelo Monfort > > This makes the desktop background actually draw when there is > a fullscreen surface and we go to exposay. > --- > > I'm not sure if this one is right, but it does the trick... If this > is not

Re: [Mesa-dev] [PATCH] st/egl: Flush resources before presentation

2014-01-07 Thread Martin Andersson
Hi Marek, Since it seems no one else have any comments on this, maybe you could commit it for me? //Martin On Thu, Dec 26, 2013 at 1:15 PM, Marek Olšák wrote: > Reviewed-by: Marek Olšák > > Marek > > On Thu, Dec 26, 2013 at 10:33 AM, Martin Andersson wrote: >> Fixes wayland regression on r600

Re: Authorized clients

2014-01-07 Thread Jasper St. Pierre
On Tue, Jan 7, 2014 at 2:43 PM, Pekka Paalanen wrote: > On Tue, 7 Jan 2014 14:26:36 -0500 > "Jasper St. Pierre" wrote: > > > On Tue, Jan 7, 2014 at 9:07 AM, Martin Peres > > wrote: > > > > > Would it be ok for you if the compositor asked the user to > > > agree for the program to > > > do the o

Re: Authorized clients

2014-01-07 Thread Daniel Stone
Hi, On 7 January 2014 19:22, Maarten Baert wrote: > @Martin Peres: Your ideas are nice in theory, but as Sebastian Wick already > said, it is just not practical. > > If you want a specific example, I have one: > https://github.com/MaartenBaert/ssr > The sole purpose of this application is to reco

Re: Authorized clients

2014-01-07 Thread Pekka Paalanen
On Tue, 7 Jan 2014 14:26:36 -0500 "Jasper St. Pierre" wrote: > On Tue, Jan 7, 2014 at 9:07 AM, Martin Peres > wrote: > > > Would it be ok for you if the compositor asked the user to > > agree for the program to > > do the operation? If so, we can guarantee that this is really > > the user's int

Re: Authorized clients

2014-01-07 Thread Jasper St. Pierre
On Tue, Jan 7, 2014 at 9:07 AM, Martin Peres wrote: > Le 07/01/2014 01:45, Sebastian Wick a écrit : > > Am 2014-01-06 19:33, schrieb Martin Peres: >> >>> Le 06/01/2014 19:10, Sebastian Wick a écrit : >>> Am 2014-01-06 16:05, schrieb Martin Peres: > As I said before, I think trustin

Re: Authorized clients

2014-01-07 Thread Maarten Baert
@Martin Peres: Your ideas are nice in theory, but as Sebastian Wick already said, it is just not practical. If you want a specific example, I have one: https://github.com/MaartenBaert/ssr The sole purpose of this application is to record the screen (i.e. take 30 screenshots per second). People are

Re: [PATCH v4 3/3] compositor-drm: allow to be a wl_dmabuf server

2014-01-07 Thread Thomas Hellstrom
I think dma-buf mmap() used without care like this should be avoided at all cost, because it will make people happily start using it without thinking about non-coherent architectures where mmap would be painfully inefficient: This is because when the accelerator uses the dma-buf it has no idea wha

Re: [PATCH v4 0/3] Add support of dmabuf in wayland/weston

2014-01-07 Thread Jasper St. Pierre
Sorry if this was discussed before, but any reason this is being put in Wayland, and in the "wl_" namespace? DMA-BUF is a private Linux kernel feature that's really semi-stable, not used by all drivers, and I'd hate for it to bit-rot and tell people not to use it, the same way wl_shell went. Having

[PATCH v4 3/3] add simple-dmabuf client

2014-01-07 Thread benjamin . gaignard
From: Benjamin Gaignard It is a simple example of how use wl_dmabuf protocol with weston Signed-off-by: Benjamin Gaignard --- clients/Makefile.am | 11 ++ clients/simple-dmabuf.c | 469 +++ configure.ac|5 + 3 files changed, 48

[PATCH v4 1/3] Add wl_dmabuf protocol

2014-01-07 Thread benjamin . gaignard
From: Benjamin Gaignard It allow to use a dmabuf file descriptor in a wayland protocol. To make as generic as possible it is up to the server to call wl_dmabuf_send_format() and/or wl_dmabuf_send_device() to signal it capabilities. Signed-off-by: Benjamin Gaignard --- protocol/Makefile.am

[PATCH v4 3/3] compositor-drm: allow to be a wl_dmabuf server

2014-01-07 Thread benjamin . gaignard
From: Benjamin Gaignard Make drm compositor aware of the wl_dmabuf protocol if pixman is used. Add functions to have a wl_dmabuf server inside drm compositor. Change pixman to let it know how use a wl_dmabuf buffer. Signed-off-by: Benjamin Gaignard --- src/compositor-drm.c | 83

[PATCH v4 0/3] Add support of dmabuf in wayland/weston

2014-01-07 Thread benjamin . gaignard
From: Benjamin Gaignard The goal of this serie of patches is to add a way to use dmabuf file descriptor inside wayland and weston. In a context where there is no Mesa EGL (and so no wl_drm protocol) wl_dmabuf could be used as an alternative to shm to share buffers between hardware devices. If yo

[PATCH] dim-layer: fix dimming for unfocused surfaces

2014-01-07 Thread pochu27
From: Emilio Pozuelo Monfort Unfocusing a surface should dim it when dim-layer is enabled, but this got broken in commit 83ffd9. --- desktop-shell/shell.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index f85a269

[PATCH 2/2] exposay: set an alpha on fullscreen surfaces

2014-01-07 Thread pochu27
From: Emilio Pozuelo Monfort This makes the desktop background actually draw when there is a fullscreen surface and we go to exposay. --- I'm not sure if this one is right, but it does the trick... If this is not too hacky I could split set_alpha_if_fullscreen() into is_fullscreen() and set_alph

[PATCH 1/2] exposay: fix infinite loop with fullscreen surfaces

2014-01-07 Thread pochu27
From: Emilio Pozuelo Monfort We were calling exposay_highlight_surface() inside a wl_list_for_each loop for a layer, but exposay_highlight_surface() calls activate() which calls shell_surface_update_layer(), which removes the surface from its layer and reinserts it, causing an infinite loop. Cal

Re: Authorized clients

2014-01-07 Thread Martin Peres
Le 07/01/2014 01:45, Sebastian Wick a écrit : Am 2014-01-06 19:33, schrieb Martin Peres: Le 06/01/2014 19:10, Sebastian Wick a écrit : Am 2014-01-06 16:05, schrieb Martin Peres: As I said before, I think trusting applications is taking the problem the wrong way. What we want is that a screens

RE: [PATCH] compositor-drm: consider the best mode of the mode_list as an option

2014-01-07 Thread Fabien DESSENNE
What is the next step to get this patch merged ? I am asking because I am a new contributor and I am not really aware of the acceptance / merge process. Fabien > -Original Message- > From: Fabien DESSENNE > Sent: mardi 17 décembre 2013 10:01 > To: 'Bryce W. Harrington' > Cc: wayland-devel