2017-07-27 15:22 GMT+02:00 Quentin Glidic <sardemff7+wayl...@sardemff7.net>:
> On 7/27/17 3:01 PM, Giulio Camuffo wrote:
>>
>> When unmaximizing a surface the configure event should send 0,0 as the
>> requested size, so that the client can use the size that it had be
When unmaximizing a surface the configure event should send 0,0 as the
requested size, so that the client can use the size that it had before
maximizing
---
libweston-desktop/xdg-shell-v6.c | 31 ++-
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git
2017-02-07 16:12 GMT+01:00 Pekka Paalanen <ppaala...@gmail.com>:
> On Mon, 5 Dec 2016 14:50:37 +0100
> Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>
>> A compositor may want to control the vt switching, for example to
>> ensure to have a lock screen befo
wl_list_for_each_safe, which is used by wl_signal_emit is not really
safe. If a signal has two listeners, and the first one removes and
re-inits the second one, it would enter an infinite loop, which was hit
in weston on resource destruction, which emits a signal.
This commit adds a new version of
---
src/wayland-server.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/wayland-server.c b/src/wayland-server.c
index 98d1205..86fa025 100644
--- a/src/wayland-server.c
+++ b/src/wayland-server.c
@@ -78,10 +78,10 @@ struct wl_client {
uint32_t
of wl_signal, called wl_priv_signal,
which is private in wayland-server.c and which does not have this problem.
The old wl_signal cannot be improved without breaking backwards compatibility.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
---
v2: make sure we don't use the new signa
2016-12-30 1:59 GMT+01:00 Adam Goode :
> On Mon, Dec 19, 2016 at 10:15 PM, Jonas Ådahl wrote:
>>
>> On Mon, Dec 19, 2016 at 12:55:24PM -0500, Adam Goode wrote:
>> > Compositors currently receive "move", "resize", and "show_window_menu"
>> > requests from
2016-12-08 20:36 GMT+01:00 Derek Foreman :
> Check that all the objects in an event belong to the same client as
> the resource posting it. This prevents a compositor from accidentally
> mixing client objects and posting an event that causes a client to
> kill itself.
>
>
2016-12-08 16:46 GMT+01:00 Quentin Glidic <sardemff7+wayl...@sardemff7.net>:
> On 08/12/2016 16:20, Giulio Camuffo wrote:
>>
>> When sending a ping event to a surface using the wl_shell interface,
>> if that surface is destroyed before we receive the pong we wil
and reset the ping state.
Signed-off-by: Giulio Camuffo <giuliocamu...@gmail.com>
---
v3: store the ping serial in the surface instead of the client wrapper
v4: removed leftover change
libweston-desktop/wl-shell.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff
and reset the ping state.
Signed-off-by: Giulio Camuffo <giuliocamu...@gmail.com>
---
v3: store the ping serial in the surface instead of the client wrapper
libweston-desktop/wl-shell.c | 22 +-
libweston-desktop/xwayland.c | 3 ++-
2 files changed, 23 insertions(+), 2 del
X client's don't have a wl_client associated with their
weston_desktop_client, so make sure to not use it.
Signed-off-by: Giulio Camuffo <giuliocamu...@gmail.com>
---
v2: use -1 as the pid unset value, and initialize the pid to 0 for xwayland
surfaces. This means the branch where
X client's don't have a wl_client associated with their
weston_desktop_client_create, so check that it is valid.
Signed-off-by: Giulio Camuffo <giuliocamu...@gmail.com>
---
libweston-desktop/surface.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libweston-d
wl_list_for_each_safe, which is used by wl_signal_emit is not really
safe. If a signal has two listeners, and the first one removes and
re-inits the second one, it would enter an infinite loop, which was hit
in weston on resource destruction, which emits a signal.
This commit adds a new version of
king).
> With this patch, modules can safely add their own layer at the expected
> position in the stack, with runtime persistence.
Hi,
sorry for the long wait. I've just a nitpick below, but anyway i think
it's good now:
Reviewed-by: Giulio Camuffo <giuliocamu...@gmail.com>
> +
&g
Signed-off-by: Giulio Camuffo <giuliocamu...@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paala...@collabora.co.uk>
---
v3: changed the summary to say "weston's vt" instead of "current vt"
libweston/launcher-direct.c| 12
libwest
weston_compositor_set_vt_switcher() function, so that it can delay the
switching to later, by calling weston_compositor_activate_vt().
Signed-off-by: Giulio Camuffo <giuliocamu...@gmail.com>
---
v3: removed leftover include, fix wrong name in documentation
Makefile.am | 2 +-
libweston/compositor.c
2016-11-25 15:10 GMT+01:00 Pekka Paalanen <ppaala...@gmail.com>:
> On Wed, 29 Jun 2016 11:57:12 +0200
> Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>
>> A compositor may want to control the vt switching, for example to
>> ensure to have a lock screen befo
2016-11-25 15:10 GMT+01:00 Pekka Paalanen <ppaala...@gmail.com>:
> On Wed, 29 Jun 2016 11:57:11 +0200
> Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>
>> Signed-off-by: Giulio Camuffo <giuliocamu...@gmail.com>
>> ---
>>
>> v2: this was split
When using output scaling a client surface's wicth and height can be
smaller than the cursor plane's size, even if its buffer is actually
bigger. So check the buffer size rather than the surface size.
---
libweston/compositor-drm.c | 17 +
1 file changed, 9 insertions(+), 8
2016-11-11 11:18 GMT+01:00 Andrea Giammarchi :
> Thanks for your answer.
>
>> you should be starting weston, not weston-launch, when you have a proper
>> logind. weston-launch is for users who do not have logind service.
>
> I think weston-launch does more than just
Hi,
Reviewed-by: Giulio Camuffo <giuliocamu...@gmail.com>
2016-11-03 11:15 GMT+01:00 Vincent Abriou <vincent.abr...@st.com>:
> While gl_renderer_attach, query_buffer should be call only if the
> query_buffer function exists ie when has_bind_display is true.
>
> v2
Hi,
Looks good to me,
Reviewed-by: Giulio Camuffo <giuliocamu...@gmail.com>
2016-11-01 20:14 GMT+01:00 Tom Hochstein <tom.hochst...@nxp.com>:
> Starting an xterm with no input device led to a crash
> because weston_wm_pick_seat() was returning garbage and
> weston_wm_select
2016-11-01 18:49 GMT+01:00 Yong Bakos <j...@humanoriented.com>:
> On Nov 1, 2016, at 10:35 AM, Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>>
>> Hi,
>>
>> I think i would put more messages in the array, just two seems like
>> it's not re
Hi,
2016-10-07 17:08 GMT+02:00 Vincent Abriou :
> While gl_renderer_attach, query_buffer should be call only if the
> query_buffer function exists.
>
> Signed-off-by: Vincent Abriou
> ---
> libweston/gl-renderer.c | 3 ++-
> 1 file changed, 2
be skipped except EGL_PLATFORM_xxx_KHR that must be still defined to
> allow compositor-xx.c to build.
Makes sense. Ifdeffing away the egl code in the backends would be
uglier imho, so
Reviewed-by: Giulio Camuffo <giuliocamu...@gmail.com>
Cheers,
Giulio
>
> Signed-off-by: Vinc
Hi,
I think i would put more messages in the array, just two seems like
it's not really testing much. Besides that it looks good.
Cheers,
Giulio
2016-10-27 17:58 GMT+02:00 Yong Bakos :
> From: Yong Bakos
>
> message-test.c did not cover
Hi,
2016-11-01 2:38 GMT+01:00 Tom Hochstein :
> Starting an xterm with no input device led to a crash
> because weston_wm_pick_seat() was returning garbage and
> weston_wm_selection_init() was trying to use the garbage.
>
> Signed-off-by: Tom Hochstein
Hi,
2016-10-13 19:27 GMT+02:00 Richard Röjfors :
> Hi all,
>
> I have a situation where I use shared memory buffers and think it would
> be very handy to be able to pass on the file offset to a create_pool call.
> Right now the implementation takes for granted that it
The wl_shell_surface spec says that it is destroyed automatically by the
server when the wl_surface is destroyed, and indeed it does not have a
destroy request. So, do that.
---
v2: remove the destroy listener when the wl_shell_surface is destroyed
libweston-desktop/wl-shell.c | 21
---
libweston-desktop/wl-shell.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libweston-desktop/wl-shell.c b/libweston-desktop/wl-shell.c
index 20fe494..49f0f82 100644
--- a/libweston-desktop/wl-shell.c
+++ b/libweston-desktop/wl-shell.c
@@ -75,6 +75,7 @@
As per the discussion on IRC, i've sent a new one actually destroying
the weston_desktop_surface. So, ignore this one.
Cheers,
Giulio
2016-09-28 11:13 GMT+02:00 Giulio Camuffo <giuliocamu...@gmail.com>:
> Weston's desktop shell increments the ref_count on the surfaces so th
The wl_shell_surface spec says that it is destroyed automatically by the
server when the wl_surface is destroyed, and indeed it does not have a
destroy request. So, do that.
---
libweston-desktop/wl-shell.c | 19 +++
1 file changed, 19 insertions(+)
diff --git
ital, when using
weston this additional patch is needed to fix it:
https://patchwork.freedesktop.org/patch/112521/
Cheers,
Giulio
>
> Thanks
> On Monday, September 26, 2016 12:37:54 PM EDT Giulio Camuffo wrote:
>> When sending a ping event to a surface using the wl_shell interf
Weston's desktop shell increments the ref_count on the surfaces so that
when the wl_resource of the wl_surface is destroyed the weston_surface
keeps living. In that case, the weston_desktop_surface keeps living too
but the shell resource doesn't. In the xdg_shell case it is destroyed
by the client
When sending a ping event to a surface using the wl_shell interface,
if that surface is destroyed before we receive the pong we will never
receive it, even if the client is actually responsive, since the
interface does not exist anymore. So when the surface if destroyed
pretend it's a pong and
When sending a ping event to a surface using the wl_shell interface,
if that surface is destroyed before we receive the pong we will never
receive it, even if the client is actually responsive, since the
interface does not exist anymore. So when the surface if destroyed
pretend it's a pong and
Hi,
could you write how to trigger the crash, also in the commit message
maybe? Besides that, i have a comment inline below.
2016-09-21 9:08 GMT+02:00 Hyunkook Khang :
> While processing pending data, client could be destroyed in the middle of
> the process. (e.g. by
2016-09-18 4:03 GMT+03:00 Yong Bakos :
> On Sep 17, 2016, at 5:42 PM, Ursache Vladimir wrote:
>>
>> Hi,
>> On amd64 struct wl_display from wayland-client.c can shrink in size
>> from 320 bytes to 304 if two fields (last_error and id) are
>> rearranged.
Hi,
Thanks for the great wrap-up!
>
>
> A proposal
>
> I believe we could have a private and safe variant of wl_signal used
> internally for all these. We would still use struct wl_listener as is,
> and be completely ABI compatible.
>
> wl_signal would be left as is. If someone needs a
2016-09-01 2:27 GMT+03:00 Quentin Glidic :
> On 30/08/2016 02:26, Bryce Harrington wrote:
>>
>> On Thu, Aug 18, 2016 at 04:45:30PM +0200, Quentin Glidic wrote:
>>>
>>> From: Quentin Glidic
>>>
>>> With this weston_view_destroy() call,
2016-09-06 7:04 GMT+03:00 Jonas Ådahl <jad...@gmail.com>:
> On Sun, Sep 04, 2016 at 06:50:47PM +0300, Giulio Camuffo wrote:
>> ---
>> libweston-desktop/wl-shell.c | 11 +++
>> 1 file changed, 11 insertions(+)
>>
>> diff --git a/libweston-desktop/wl
wl_list_for_each_safe, which was used by wl_signal_emit is not really
safe. If a signal has two listeners, and the first one removes and
re-inits the second one, it would enter an infinite loop.
This commit adds a wl_list_iterate_safe() function which is used by
wl_signal_emit() and adds a test
---
libweston-desktop/wl-shell.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/libweston-desktop/wl-shell.c b/libweston-desktop/wl-shell.c
index 74ce473..7172449 100644
--- a/libweston-desktop/wl-shell.c
+++ b/libweston-desktop/wl-shell.c
@@ -151,6 +151,17 @@
If the transform on a view is only a translation we can trivially
set the opaque region for it so to optimize the rendering.
---
libweston/compositor.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/libweston/compositor.c b/libweston/compositor.c
index 47907bb..8c3872d 100644
---
2016-09-02 10:27 GMT+02:00 Olivier Fourdan :
> Hi,
>
> - Original Message -
>> 2016-09-01 11:52 GMT+02:00 Olivier Fourdan :
>> > Hi
>> >
>> >> > + keyboard->grab_serial =
>> >> > wl_display_get_serial(compositor->wl_display);
>> >> > if
2016-09-01 11:52 GMT+02:00 Olivier Fourdan :
> Hi
>
>> > + keyboard->grab_serial = wl_display_get_serial(compositor->wl_display);
>> > if (state == WL_KEYBOARD_KEY_STATE_PRESSED) {
>> > - keyboard->grab_serial =
>> > -
2016-08-30 15:22 GMT+02:00 Jonas Ådahl <jad...@gmail.com>:
> On Tue, Aug 30, 2016 at 02:12:29PM +0200, Giulio Camuffo wrote:
>> 2016-08-30 13:58 GMT+02:00 Olivier Fourdan <ofour...@redhat.com>:
>> > Hi Giulio,
>> >
>> >> i have a couple of comment
2016-08-30 13:58 GMT+02:00 Olivier Fourdan :
> Hi Giulio,
>
>> i have a couple of comments below
>
> Thanks a lot for your quick reply!
>
>> 2016-08-30 11:54 GMT+02:00 Olivier Fourdan :
>> > [...]
>>
>> I can understand the Xwayland use, but not the VM
Hi,
i have a couple of comments below
2016-08-30 11:54 GMT+02:00 Olivier Fourdan :
> This patch introduces a new protocol for grabbing a keyboard.
>
> Signed-off-by: Olivier Fourdan
> ---
> Makefile.am| 1 +
>
Il 26/ago/2016 16:28, "Yong Bakos" <j...@humanoriented.com> ha scritto:
>
> On Aug 26, 2016, at 2:12 AM, Giulio Camuffo <giuliocamu...@gmail.com>
wrote:
> >
> > Hi,
> >
> >
> >>
> >> +/**
> >> + * Removes an elem
Hi,
>
> +/**
> + * Removes an element from the list.
> + *
> + * \param elm element to remove from the list
> + */
I think this should mention that elm is left in an invalid state, and
the user should call wl_list_init on it before using it again.
Cheers,
Giulio
> void
>
2016-08-17 23:23 GMT+02:00 :
> On 08/17, Jonas Ådahl wrote:
>> Is half a megabyte really a big deal for wayland-web? I find it more
>> reasonable to just provide the full resolution image instead of relying
>> on the URL to the external image never changing.
>
> I think
2016-08-17 10:48 GMT+02:00 Pekka Paalanen <ppaala...@gmail.com>:
> On Wed, 17 Aug 2016 10:33:19 +0200
> Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>
>> ---
>> extras.html | 13 +
>> gammaray.png | Bin 0 -> 563838 bytes
>> 2
2016-08-12 10:25 GMT+02:00 Pekka Paalanen <ppaala...@gmail.com>:
> On Thu, 11 Aug 2016 17:06:02 +0200
> Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>
>> 2016-08-11 16:39 GMT+02:00 Pekka Paalanen <ppaala...@gmail.com>:
>> > On Tue, 9 Aug 2016 12:4
Ah sorry, i forgot to add Yong's R-b.
2016-08-12 9:33 GMT+02:00 Giulio Camuffo <giuliocamu...@gmail.com>:
> The new wl_display_add_protocol_logger allows to set a function as
> a logger, which will get called when a new request is received or an
> event is sent.
> This
.
A test is added for the new functionality.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
Reviewed-by: Jonas Ådahl <jad...@gmail.com>
---
v5: fixed documentation
Makefile.am | 5 +-
src/wayland-server-core.h| 24 +++
src/wayland-server.c
2016-08-12 3:33 GMT+02:00 Jonas Ådahl <jad...@gmail.com>:
> On Thu, Aug 11, 2016 at 05:23:11PM +0200, Giulio Camuffo wrote:
>> The new wl_display_add_protocol_logger allows to set a function as
>> a logger, which will get called when a new request is received o
.
A test is added for the new functionality.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
---
v4: - set a timeout of 1s for the test
- don't init the logger's list link
- remove unneeded forward declaration
Makefile.am | 5 +-
src/wayland-server-core.h
To complement on the new resource created signal, this allows to
iterate over the existing resources of a client.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
Reviewed-by: Jonas Ådahl <jad...@gmail.com>
---
v4: - really stop when the iterator says so
src/wayland-privat
the wl_client as the context.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
Reviewed-by: Jonas Ådahl <jad...@gmail.com>
---
v4: - added a test
- allow removing the listeners after the client was destroyed
src/wayland-server-core.h | 4 ++
src/wayl
2016-08-11 16:39 GMT+02:00 Pekka Paalanen <ppaala...@gmail.com>:
> On Tue, 9 Aug 2016 12:46:56 +0200
> Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>
>> The new wl_display_add_protocol_logger allows to set a function as
>> a logger, which will get call
2016-08-11 16:34 GMT+02:00 Pekka Paalanen <ppaala...@gmail.com>:
> On Tue, 9 Aug 2016 12:46:55 +0200
> Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>
>> To complement on the new resource created signal, this allows to
>> iterate over the existing resour
Hi
2016-08-11 14:34 GMT+02:00 Pekka Paalanen :
>
> Hi Giulio,
>
> what is in this patch looks good, but I think there could be more.
>
> There is no test that would excercise
> wl_client_add_resource_created_signal().
Right, i'll add it.
>
> wl_client destruction assumes
Hi,
2016-08-10 18:28 GMT+02:00 Yong Bakos <j...@humanoriented.com>:
> Hi Giulio,
>
>> On Aug 9, 2016, at 3:46 AM, Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>>
>> The new wl_display_add_protocol_logger allows to set a function as
>> a logger
2016-08-10 0:48 GMT+02:00 Yong Bakos <j...@humanoriented.com>:
> Hi Giulio,
> I missed these Wayland patches due to the weston subject
> line, so forgive me for the late feedback. Suggestion inline
> below.
Oh indeed, sorry about that.
>
>> On Aug 9, 2016, at 3:46 AM,
the wl_client as the context.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
Reviewed-by: Jonas Ådahl <jad...@gmail.com>
---
src/wayland-server-core.h | 4
src/wayland-server.c | 32
2 files changed, 36 insertions(+)
diff --git a/src/wa
.
A test is added for the new functionality.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
---
v3: - added missing test file
- renamed wl_protocol_logger_direction to wl_protocol_logger_type
- renamed closure_log to log_closure
- renamed wl_display_remove_protocol_
To complement on the new resource created signal, this allows to
iterate over the existing resources of a client.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
Reviewed-by: Jonas Ådahl <jad...@gmail.com>
---
v3: - add a new wl_iterator_enum to be used instead of t
This patch chooses the wl_list_for_each-style of iterating over
the clients, instead of using an iterator function, because i think
it is easier to use.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
Reviewed-by: Jonas Ådahl <jad...@gmail.com>
---
v3: check that the client
e Park <nic...@nicesj.com>
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
Reviewed-by: Jonas Ådahl <jad...@gmail.com>
---
v3: added missing copyright line to the test
Makefile.am | 5 +-
src/wayland-server-core.h | 4
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
Reviewed-by: Jonas Ådahl <jad...@gmail.com>
---
src/wayland-server-core.h | 2 ++
src/wayland-server.c | 12
2 files changed, 14 insertions(+)
diff --git a/src/wayland-server-core.h b/src/wayland-server-
2016-08-09 10:17 GMT+02:00 Jonas Ådahl <jad...@gmail.com>:
> On Tue, Jul 05, 2016 at 09:51:10AM +0200, Giulio Camuffo wrote:
>> To complement on the new resource created signal, this allows to
>> iterate over the existing resources of a client.
>>
>> Signed-of
2016-08-08 11:07 GMT+02:00 Olivier Fourdan <ofour...@redhat.com>:
> Hi Giulio,
>
> On 8 August 2016 at 10:53, Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>> Hi,
>>
>> this looks like a nice way to implement restricted interfaces... i
>> just wonde
Hi,
Reviewed-by: Giulio Camuffo <giuliocamu...@gmail.com>
2016-07-10 11:00 GMT+02:00 Quentin Glidic <sardemff7+wayl...@sardemff7.net>:
> From: Quentin Glidic <sardemff7+...@sardemff7.net>
>
> libweston/gl-renderer.c: In function 'compress_bands':
> libweston/gl-rend
Hi,
Reviewed-by: Giulio Camuffo <giuliocamu...@gmail.com>
2016-07-10 11:00 GMT+02:00 Quentin Glidic <sardemff7+wayl...@sardemff7.net>:
> From: Quentin Glidic <sardemff7+...@sardemff7.net>
>
> shared/image-loader.c: In function 'load_image':
> shared/image-loader.
Hi,
Reviewed-by: Giulio Camuffo <giuliocamu...@gmail.com>
2016-07-10 11:00 GMT+02:00 Quentin Glidic <sardemff7+wayl...@sardemff7.net>:
> From: Quentin Glidic <sardemff7+...@sardemff7.net>
>
> libweston/compositor.c:5023:14: warning: comparison of unsigned enum
>
Hi,
Reviewed-by: Giulio Camuffo <giuliocamu...@gmail.com>
2016-07-10 11:00 GMT+02:00 Quentin Glidic <sardemff7+wayl...@sardemff7.net>:
> From: Quentin Glidic <sardemff7+...@sardemff7.net>
>
> libweston/launcher-weston-launch.c:58:1: warning: unused function
> 'is_
Hi,
Reviewed-by: Giulio Camuffo <giuliocamu...@gmail.com>
2016-07-10 11:00 GMT+02:00 Quentin Glidic <sardemff7+wayl...@sardemff7.net>:
> From: Quentin Glidic <sardemff7+...@sardemff7.net>
>
> This silences two warnings:
>
> clients/window.c:2450:20: warning: imp
Hi,
looks good.
Reviewed-by: Giulio Camuffo <giuliocamu...@gmail.com>
2016-07-08 20:20 GMT+02:00 Derek Foreman <der...@osg.samsung.com>:
> Currently we can end up sending pings to popups every screen redraw and every
> pointer move when they're focused. Instead let's send a
Hi,
What's the point of this now that we have the proxy wrapper approach?
Cheers,
Giulio
2016-05-17 8:18 GMT+02:00 :
> From: Bill Spitzak
>
> Scanner produces a wl_xyz_new() for each object, and for each constructor
> request it produces an "_id"
Hi,
Reviewed-by: Giulio Camuffo <giuliocamu...@gmail.com>
2016-07-27 21:02 GMT+02:00 Yong Bakos <j...@humanoriented.com>:
> On Jul 27, 2016, at 9:06 AM, Derek Foreman <der...@osg.samsung.com> wrote:
>>
>> This mildly confused me during some debugging, so I
Hi,
your qtwayland version and qtbase version don't match. Run your
application with QT_DEBUG_PLUGINS=1 and look at the output for more
details.
Cheers,
Giulio
2016-08-08 3:22 GMT+02:00 Anthenony :
> The error still existed.
> Is there any other way?
>
>
>
> At 2016-08-05
Hi,
this looks like a nice way to implement restricted interfaces... i
just wonder, would we need to revoke allowed interfaces? How would
this approach allow that?
Also, this still doesn't prevent a client from binding an interface if
it knows the name and id. Do we care?
2016-08-08 10:10
2016-07-04 15:58 GMT+02:00 Quentin Glidic :
> From: Quentin Glidic
>
> Use different functions so we cannot load a libweston module in weston
> or the other way around.
>
> Also properly namespace backend_init and use a different name
Hi,
This looks good to me but i wonder, since it's a behavior change, it
should be mentioned in the changelog. I think we should start using a
[Changelog] tag or something in the commit message to make fishing
them out of the git history easier.
With that, Reviewed-by: Giulio Camuffo <giulioc
2016-07-09 20:45 GMT+02:00 Quentin Glidic :
> From: Quentin Glidic
>
> Currently, layers’ order depends on the module loading order and it does
> not survive runtime modifications (like shell locking/unlocking).
> With this patch,
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
---
v2: - return the interface name instead of the interface struct
src/wayland-server-core.h | 2 ++
src/wayland-server.c | 12
2 files changed, 14 insertions(+)
diff --git a/src/wayland-server-core.h b/src/w
e Park <nic...@nicesj.com>
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
Reviewed-by: Pekka Paalanen <pekka.paala...@collabora.co.uk>
---
v2: - added a test
- some more documentation
Makefile.am | 5 ++-
src/wayland-server-core.h
.
A test is added for the new functionality.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
---
v2: - return wl_protocol_logger* when adding a logger, and use that to remove it
- add a test
- rename the enum to _REQUEST and _EVENT
Makefile.am | 3 ++
src/wayland-
the wl_client as the context.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
---
v2: expand a bit the documentation and commit message
src/wayland-server-core.h | 4
src/wayland-server.c | 32
2 files changed, 36 insertions(+)
diff --git
This patch chooses the wl_list_for_each-style of iterating over
the clients, instead of using an iterator function, because i think
it is easier to use.
Signed-off-by: Giulio Camuffo <giulio.camu...@kdab.com>
---
v2: expand a bit the documentation and the commit message
src/wayland-
2016-06-17 13:51 GMT+02:00 Pekka Paalanen <ppaala...@gmail.com>:
> On Mon, 7 Mar 2016 18:31:33 +0100
> Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>
>> ---
>> src/wayland-server-core.h | 14 +
&
2016-06-17 14:07 GMT+02:00 Pekka Paalanen <ppaala...@gmail.com>:
> On Mon, 7 Mar 2016 18:31:35 +0100
> Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>
>> To complement on the new resource created signal, this allows to
>> iterate over the existing resources of
in the compositor side, and
to deal with signal handling.
A new function is added in compositor.c to load and init the xwayland.so plugin.
Also make sure to re-arm the SIGUSR1 when the X server quits.
Signed-off-by: Giulio Camuffo <giuliocamu...@gmail.com>
---
v2: - use strstr instead of strcmp to
n core to explicitly support each
case. This patch fixes that.
The tests all pass.
Signed-off-by: Pekka Paalanen <pekka.paala...@collabora.co.uk>
Signed-off-by: Giulio Camuffo <giuliocamu...@gmail.com>
---
Makefile.am | 8 +++
libweston/compositor.c | 6 ++
libw
= xwayland;
>> + wxw->process.cleanup = xserver_cleanup;
>> + if (api->listen(xwayland, wxw, spawn_xserver) < 0)
>> + return -1;
>> +
>> + loop = wl_display_get_event_loop(comp->wl_display);
>> + wxw->sigusr1_source = wl
2016-06-23 9:37 GMT+02:00 Daniel Stone <dan...@fooishbar.org>:
> Hi Guilio,
>
> On 5 June 2016 at 03:48, Giulio Camuffo <giuliocamu...@gmail.com> wrote:
>> @@ -97,8 +97,17 @@ switch_vt_binding(struct weston_keyboard *keyboard,
>> uint32
2016-06-28 14:30 GMT+02:00 Pekka Paalanen :
> On Thu, 23 Jun 2016 11:59:40 +0200
> Armin Krezović wrote:
>
>> This patch makes use of new flags which were introduced
>> by previous patches to check if a surface/view is mapped
>>
>> Signed-off-by:
2016-06-18 19:15 GMT+02:00 Armin Krezović :
> Currently, weston assumes a surface/view is mapped if
> it has an output assigned. In a zero outputs scenario,
> this isn't really desirable.
>
> This patch introduces a new flag to weston_surface and
> weston_view, which has
1 - 100 of 694 matches
Mail list logo