[PATCH] compositor-drm: free drm_mode in drm_output_destroy

2013-12-15 Thread Xiong Zhang
When drm_output is destroyed, we should free drm_mode to avoid memoey leakage. Signed-off-by: Xiong Zhang --- src/compositor-drm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index fbf6e49..9af8f8d 100644 --- a/src/compositor-drm.c +++ b

RE: Payload size and text.xml in weston

2013-12-15 Thread Elvis Lee(KwangWoong Lee)
Michael. > On Thu, 2013-12-12 at 18:23 -0600, Jason Ekstrand wrote: > > Elvis, > > > > On Dec 12, 2013 2:08 AM, "Elvis Lee(KwangWoong Lee)" > > wrote: > > > While using text protocol in Weston, we encountered some cases which > > exceeds the limitation. > > > > > > For example, "set_surrounding_

Re: [PATCH weston] introduces a setting to give permission to any client to do screenshots

2013-12-15 Thread Sebastian Wick
Am 2013-12-16 00:52, schrieb Timothée Ravier: polkit could also be used for the whole process of deciding whether a screenshot action is allowed or not: * The compositor would first request authorization for the screenshot action to polkit; * polkit would check if the action is legitimate using

Re: [PATCH weston] introduces a setting to give permission to any client to do screenshots

2013-12-15 Thread Timothée Ravier
On 16/12/2013 00:21, Timothée Ravier wrote: > Thus packaged screenshot applications can include a privileged setup > step which add a file containing the application full path in a > directory writable only by root > (/etc/wayland/accepted-screenshoters.d/appname for example). The > compositor woul

Re: [PATCH weston] introduces a setting to give permission to any client to do screenshots

2013-12-15 Thread Timothée Ravier
On 15/12/2013 17:13, Martin Peres wrote: > On 15/12/2013 01:09, Sebastian Wick wrote: >> Am 2013-12-13 16:12, schrieb Martin Peres: >>> What prevents other applications from modifying this setting to true >>> if they want to >>> spy on applications? >> >> Nothing. But then again if you can write to

Re: [PATCH weston] introduces a setting to give permission to any client to do screenshots

2013-12-15 Thread Martin Peres
On 15/12/2013 01:09, Sebastian Wick wrote: Am 2013-12-13 16:12, schrieb Martin Peres: What prevents other applications from modifying this setting to true if they want to spy on applications? Nothing. But then again if you can write to the ini file you can make the compositor load any code wit

weston-launch and virtual terminals

2013-12-15 Thread Kalrish Bäakjen
Hello, A week ago, I sent a message in which I asked how am I supposed to use Weston with the DRM backend. Don't misunderstand me: I had RTFM already, and I had investigated enough (or so I supposed). I'm still unable to use Weston with the DRM backend, even though everything is right. Can anyone