patch fixes that.
The tests all pass.
Signed-off-by: Pekka Paalanen
Signed-off-by: Giulio Camuffo
---
Makefile.am | 8 +++
libweston/compositor.c | 6 ++
libweston/compositor.h | 2 +
libweston/plugin-registry.c | 156
t; + 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_event_loop_a
2016-06-23 9:37 GMT+02:00 Daniel Stone :
> Hi Guilio,
>
> On 5 June 2016 at 03:48, Giulio Camuffo wrote:
>> @@ -97,8 +97,17 @@ switch_vt_binding(struct weston_keyboard *keyboard,
>> uint32_t time, uint32_t key, void *data)
>> {
>> str
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: Armin Krezović
>> ---
>> src/compositor.c | 10 ++
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 to be set manually to indic
2016-06-17 14:09 GMT+03:00 Pekka Paalanen :
> On Mon, 7 Mar 2016 18:31:32 +0100
> Giulio Camuffo wrote:
>
>> ---
>> src/wayland-server-core.h | 2 ++
>> src/wayland-server.c | 12
>> 2 files changed, 14 insertions(+)
>>
>> diff --
2016-06-08 10:35 GMT+02:00 Jonas Ådahl :
> On Wed, Jun 08, 2016 at 11:16:49AM +0300, Giulio Camuffo wrote:
>> Hi, one comment below, but anyway i think this looks good. However i
>> will try to use it in qt asap to confirm it really is.
>>
>> 2016-05-26
Hi, one comment below, but anyway i think this looks good. However i
will try to use it in qt asap to confirm it really is.
2016-05-26 7:32 GMT+03:00 Jonas Ådahl :
> +
> +
> +
> + Set the size of the surface that is to be positioned with the
> positioner
> + object. The si
2016-06-08 3:08 GMT+02:00 Jonas Ådahl :
> On Tue, Jun 07, 2016 at 05:39:09PM +0300, Giulio Camuffo wrote:
>> Hi, a couple of comments below:
>>
>> 2016-05-26 7:32 GMT+03:00 Jonas Ådahl :
>> > Turn xdg_popup into plain temporary child surfaces without any grabbing
>
Hi, a couple of comments below:
2016-05-26 7:32 GMT+03:00 Jonas Ådahl :
> Turn xdg_popup into plain temporary child surfaces without any grabbing
> or mapping order requirements by default.
>
> In order to create grabbing popup chains, a new request 'grab' is
> introduced which enables more or les
Hi, just a few nitpicks below.
2016-05-26 7:32 GMT+03:00 Jonas Ådahl :
> Split out toplevel window like requests and events into a new interface
> called xdg_toplevel, and turn xdg_surface into a generic base interface
> which others extends.
>
> xdg_popup is changed to extend the xdg_surface.
>
>
2016-06-06 15:52 GMT+03:00 Pekka Paalanen :
> On Sun, 5 Jun 2016 21:50:33 +0300
> Giulio Camuffo wrote:
>
>> 2016-06-03 17:33 GMT+03:00 Pekka Paalanen :
>> > From: Pekka Paalanen
>> >
>> > This is the start of separating weston-the-compositor sou
2016-06-03 17:33 GMT+03:00 Pekka Paalanen :
> From: Pekka Paalanen
>
> This is the start of separating weston-the-compositor source files from
> libweston source files.
>
> This is moving all the files related to the 'weston' binary. Also the
> CMS and systemd plugins are moved.
>
> xwayland plugi
Maybe it would make sense to squash this with the previous one?
Cheers,
Giulio
2016-06-03 15:41 GMT+03:00 Pekka Paalanen :
> From: Pekka Paalanen
>
> There is no need to pass the backend name string to these functions
> anymore.
>
> Signed-off-by: Pekka Paalanen
> ---
> src/main.c | 24 ++
git am complains on this one:
Applying patch #91319 using 'git am'
Description: [weston,2/5] compositor, main: use weston_compositor_load_backend()
Applying: compositor, main: use weston_compositor_load_backend()
.git/rebase-apply/patch:44: new blank line at EOF.
+
warning: 1 line adds whitespace
2016-06-03 15:41 GMT+03:00 Pekka Paalanen :
> From: Pekka Paalanen
>
> Backends do not have access to command line elements nor weston_config
> anymore. The use the backend-specific config APIs now.
Missing a y here, The -> They.
Cheers,
Giulio
>
> Signed-off-by: Pekka Paalanen
> ---
> src/co
Hi,
i have a few nitpicks on some patches, but for the whole series:
Reviewed-by: Giulio Camuffo
2016-06-03 16:12 GMT+03:00 Quentin Glidic :
> On 03/06/2016 14:41, Pekka Paalanen wrote:
>>
>> From: Pekka Paalanen
>>
>> Now that the rpi-backend is gone, we can cle
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
---
Makefile.am | 2 +-
src/compositor.c | 18 ++
src/compositor.h | 39
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
---
Makefile.am | 2 +-
src/compositor.c | 18 ++
src/compositor.h | 39 +++
src
From: Pekka Paalanen
Implement a simple register and lookup for function tables. This is
intended for plugins to expose APIs to other plugins.
It has been very hard to arrange a plugin to be able to call into
another plugin without modifying Weston core to explicitly support each
case. This patc
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.
Signed-off-by: Giulio Camuffo
---
Makefile.am| 14 ++-
src/compositor.c | 15 +++
src/compositor.h | 3 +
src/main.c
number will need
to be increased.
Signed-off-by: Giulio Camuffo
Reviewed-by: Quentin Glidic
Acked-by: Pekka Paalanen
---
v3: - renamed the new function to wet_load_module
- change include in weston.h to use <>
Makefile.am| 25 +++--
config
start and
stop the recorder.
Signed-off-by: Giulio Camuffo
Reviewed-by: Pekka Paalanen
---
v3: put weston.h in westoninclude_HEADERS
Makefile.am| 2 +
desktop-shell/shell.c | 1 +
src/compositor.h | 8 +-
src/screenshooter.c| 187
Signed-off-by: Giulio Camuffo
Reviewed-by: Quentin Glidic
Reviewed-by: Pekka Paalanen
---
v3: - added documentation for weston_log_set_handler
- fixed whitespace issue
src/compositor.h | 5 ++--
src/log.c| 87 ++--
src/main.c
This commit also adds a libweston-0.pc file. The -0 is the abi version
introduced in the previous patch.
Signed-off-by: Giulio Camuffo
Reviewed-by: Quentin Glidic
Acked-by: Pekka Paalanen
---
v3: - read dropped library dependencies for libweston
- keep log.c where it is
- put weston.h
Instead add callbacks to the drm and fbdev backends and pass that to
the input backens so that when a new device needs to be configured
that is called and the compositor can configure it.
Signed-off-by: Giulio Camuffo
Reviewed-by: Quentin Glidic
Reviewed-by: Pekka Paalanen
---
v3: nothing
weston_compositor_xkb_destroy() is called automatically so having only
weston_compositor_xkb_init() to be called by the user was a bit weird.
So rename it so that it makes more sense.
Also export it, since libweston compositors need to call it.
Signed-off-by: Giulio Camuffo
Reviewed-by: Quentin
They belong in the compositor rather than libweston since they
set signals handlers, and a library should not do that behind its
user's back. Besides, they were using functions in main.c already
so they were not usable by other compositors.
Signed-off-by: Giulio Camuffo
Reviewed-by: Qu
The config can now be retrieved with a new function defined in weston.h,
wet_get_config(weston_compositor*).
Signed-off-by: Giulio Camuffo
Reviewed-by: Pekka Paalanen
Reviewed-by: Quentin Glidic
---
v3: renamed the new function to wet_get_config
desktop-shell/shell.c | 2 +-
ivi-shell
2016-06-02 11:44 GMT+03:00 Quentin Glidic :
> On 01/06/2016 20:43, Giulio Camuffo wrote:
>>
>> Instead add callbacks to the drm and fbdev backends and pass that to
>> the input backens so that when a new device needs to be configured
>> that is called and the
The config can now be retrieved with a new function defined in weston.h,
weston_get_config(weston_compositor*).
Signed-off-by: Giulio Camuffo
---
desktop-shell/shell.c | 2 +-
ivi-shell/hmi-controller.c | 6 +++---
ivi-shell/ivi-shell.c | 3 ++-
src/cms-static.c | 3 ++-
src
Signed-off-by: Giulio Camuffo
---
src/compositor.h | 5 ++--
src/log.c| 74 ++-
src/main.c | 80
3 files changed, 90 insertions(+), 69 deletions(-)
diff --git a/src
They belong in the compositor rather than libweston since they
set signals handlers, and a library should not do that behind its
user's back. Besides, they were using functions in main.c already
so they were not usable by other compositors.
Signed-off-by: Giulio Camuffo
---
ivi-shel
This new version fixes the issues raised and adds two new patches to plug
a hole i didn't notice before. Now libweston should not use any functionality
that is part of weston-the-compositor.
Giulio Camuffo (8):
Rename weston_compositor_xkb_init to
weston_compositor_set_xkb_rule_
weston_compositor_xkb_destroy() is called automatically so having only
weston_compositor_xkb_init() to be called by the user was a bit weird.
So rename it so that it makes more sense.
Also export it, since libweston compositors need to call it.
---
v2: renamed xkb_init to set_xkb_rule_names
src/
This commit also adds a libweston-0.pc file. The -0 is the abi version
introduced in the previous patch.
Signed-off-by: Giulio Camuffo
---
Makefile.am | 45 +++--
configure.ac| 4
src/libweston.pc.in | 12
src
the number will
be increased.
Signed-off-by: Giulio Camuffo
---
v2: - don't remove MODULEDIR
- keep systemd-notify with the main.c side
- rename the new load function to load_weston_plugin
Makefile.am| 24 +++-
configure.ac | 2 ++
ivi-shel
Instead add callbacks to the drm and fbdev backends and pass that to
the input backens so that when a new device needs to be configured
that is called and the compositor can configure it.
Signed-off-by: Giulio Camuffo
---
Makefile.am| 3 ++-
src/compositor-drm.c | 3 ++-
src
start and
stop the recorder.
Signed-off-by: Giulio Camuffo
---
v2
Makefile.am| 2 +
desktop-shell/shell.c | 1 +
src/compositor.h | 8 +-
src/screenshooter.c| 187 +---
src/weston-screenshooter.c | 191
2016-05-25 10:46 GMT+03:00 Quentin Glidic :
> On 24/05/2016 18:50, Giulio Camuffo wrote:
>>
>> This makes more clear that the backend doesn't take ownership
>> of the data and it makes the API more usable.
>>
>> Signed-off-by: Giulio Camuffo
start and
stop the recorder.
Signed-off-by: Giulio Camuffo
---
Makefile.am| 1 +
desktop-shell/shell.c | 1 +
src/compositor.h | 8 +-
src/screenshooter.c| 187 +---
src/weston-screenshooter.c | 191
---
src/input.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/input.c b/src/input.c
index 8fe898c..c6cdedd 100644
--- a/src/input.c
+++ b/src/input.c
@@ -2277,7 +2277,7 @@ bind_seat(struct wl_client *client, void *data, uint32_t
version, uint32_t id)
}
#ifdef ENA
Signed-off-by: Giulio Camuffo
---
src/compositor.h | 5 ++--
src/log.c| 74 ++-
src/main.c | 80
3 files changed, 90 insertions(+), 69 deletions(-)
diff --git a/src
This commit also adds a libweston-0.pc file. The -0 is the abi version
introduced in the previous patch.
Signed-off-by: Giulio Camuffo
---
Makefile.am | 44 +++-
configure.ac| 1 +
src/libweston.pc.in | 11 +++
3 files changed, 39
They belong in the compositor rather than libweston since they
set signals handlers, and a library should not do that behind its
user's back. Besides, they were using functions in main.c already
so they were not usable by other compositors.
Signed-off-by: Giulio Camuffo
---
ivi-shel
the number will
be increased.
Signed-off-by: Giulio Camuffo
---
Makefile.am| 28 +---
configure.ac | 2 ++
ivi-shell/ivi-layout.c | 3 ++-
src/compositor.c | 2 +-
src/main.c | 47 ++-
src
orted.
Some patches i believe could go in by themselves, such as 1, 3 and 4 if
the ones actually dealing with the .so need to be changed.
Cheers,
Giulio
Giulio Camuffo (6):
Export weston_compositor_xkb_init, as required for libweston users
Split the modules and include files between westo
This makes more clear that the backend doesn't take ownership
of the data and it makes the API more usable.
Signed-off-by: Giulio Camuffo
---
src/compositor-drm.h | 10 +-
src/main.c | 18 --
2 files changed, 17 insertions(+), 11 deletions(-)
diff --git
Hi,
2016-05-24 4:27 GMT+03:00 Yong Bakos :
> From: Yong Bakos
>
> wayland-server-core.h contains the prototype of wl_shm_buffer_create,
> which is marked WL_DEPRECATED.
>
> Move the prototype out of wayland-server-core.h and into the group of
> deprecated prototypes in wayland-server.h.
> Add the
an be done when we
identify which files are they.
When the API/ABI of libweston changes in an incompatible way, the abi version
will be bumped so that multiple versions can live together.
Also a libweston-N.pc file is created and installed together with weston.pc.
Signed-off-by: Giul
2016-04-30 0:44 GMT+03:00 Bryce Harrington :
> On Sun, Apr 17, 2016 at 05:10:24PM +0300, Giulio Camuffo wrote:
>> 2016-04-16 6:28 GMT+03:00 Bryce Harrington :
>> > From: Benoit Gschwind
>> >
>> > Use a "well" defined structure to configure x11-
2016-04-30 0:38 GMT+03:00 Bryce Harrington :
> On Sun, Apr 17, 2016 at 05:31:32PM +0300, Giulio Camuffo wrote:
>> Sorry, i keep seeing things after i hit send...
>>
>> 2016-04-17 17:10 GMT+03:00 Giulio Camuffo :
>> > 2016-04-16 6:28 GMT+03:00 Bryce
2016-04-16 6:28 GMT+03:00 Bryce Harrington :
> We know ahead of time the maximum number of outputs we'll be
> configuring, so just alloc that memory from the get-go, instead of
> realloc'ing for each new output.
>
> Suggested-by: Pekka Paalanen
> Signed-off-by: Bryce Harrington
> ---
> src/main.
Sorry, i keep seeing things after i hit send...
2016-04-17 17:10 GMT+03:00 Giulio Camuffo :
> 2016-04-16 6:28 GMT+03:00 Bryce Harrington :
>> From: Benoit Gschwind
>>
>> Use a "well" defined structure to configure x11-backend and move
>> configurat
Maybe it would make sense to squash this too, but either way:
Reviewed-by: Giulio Camuffo
2016-04-16 6:28 GMT+03:00 Bryce Harrington :
> Since the backend config struct versioning implies that there we expect
> potential future descrepancy between main's definition of the config
>
Ah, so this fixes the problem with patch 5. I think it would make
sense to squash them together.
One comment below.
2016-04-16 6:28 GMT+03:00 Bryce Harrington :
> The drm backend was copying most everything out of the config object
> already, but now also copy the use_current_mode parameter and th
Reviewed-by: Giulio Camuffo
2016-04-16 6:28 GMT+03:00 Bryce Harrington :
> From: Benoit Gschwind
>
> refactor configuration API of headless-backend
>
> Signed-off-by: Bryce Harrington
> Reviewed-by: Pekka Paalanen
>
> v6:
> - Define version number in the hea
o err_x11_input;
> }
>
> - x = pixman_region32_extents(&output->base.region)->x2;
> -
> - output_count++;
> - if (option_count && output_count >= option_count)
> - break;
> -
2016-04-17 16:47 GMT+03:00 Giulio Camuffo :
> Hi, this looks good to me.
> Reviewed-by: Giulio Camuffo
Actually no, sorry. See comments below.
>
> 2016-04-16 6:28 GMT+03:00 Bryce Harrington :
>> From: Giulio Camuffo
>>
>> Signed-off-by: Bryce Harrington
Hi, this looks good to me.
Reviewed-by: Giulio Camuffo
2016-04-16 6:28 GMT+03:00 Bryce Harrington :
> From: Giulio Camuffo
>
> Signed-off-by: Bryce Harrington
> Reviewed-by: Quentin Glidic
> Acked-by: Pekka Paalanen
> Tested-by: Benoit Gschwind
>
> v6:
> - Fi
I must say the approach you've taken in the x11 backend, passing all
the configs at
init time, is neat, but this leaves me wondering if we'll ever want to
create an output after
initialization... however i think until such need arises this is ok.
Reviewed-by: Giulio Camuffo
2016-04-1
Hi,
Trivial enough, Reviewed-by: Giulio Camuffo
2016-04-16 6:28 GMT+03:00 Bryce Harrington :
> Signed-off-by: Bryce Harrington
> ---
> src/compositor-drm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compositor-drm.c b/src/compositor-drm
Hi,
I don't understand this one at all, you're moving configuration back
into the backend, partially reverting patch 5.
2016-04-16 6:28 GMT+03:00 Bryce Harrington :
> Signed-off-by: Bryce Harrington
> ---
> src/compositor-drm.c | 93
>
> src
2016-04-16 1:02 GMT+03:00 Bryce Harrington :
> On Fri, Apr 15, 2016 at 02:32:04PM +0200, Benoit Gschwind wrote:
>> > + /** The seat to be used by the output. Set to NULL to use the
>> > +* default seat. */
>> > + char *seat;
>> > + /** The modeline to be used by the output. Refer to the d
2016-04-13 16:17 GMT+03:00 Pekka Paalanen :
> On Wed, 13 Apr 2016 03:25:12 -0700
> Bryce Harrington wrote:
>
>> Signed-off-by: Bryce Harrington
>> ---
>> src/compositor-drm.c | 10 ++
>> src/compositor-drm.h | 43 ---
>> src/main.c | 6 +
2016-04-13 14:30 GMT+03:00 Pekka Paalanen :
> On Tue, 12 Apr 2016 21:34:28 -0700
> Bryce Harrington wrote:
>
>> On Wed, Apr 06, 2016 at 11:37:57AM +0300, Pekka Paalanen wrote:
>> > On Wed, 9 Mar 2016 16:49:29 -0800
>> > Bryce Harrington wrote:
.
Signed-off-by: Giulio Camuffo
---
v2: changed the logger function to pass a struct wl_log_message* with all
the relevant data instead of a string.
src/wayland-server-core.h | 21 ++
src/wayland-server.c | 100 +++---
2 files changed, 115
2016-04-06 11:37 GMT+03:00 Pekka Paalanen :
> On Wed, 9 Mar 2016 16:49:29 -0800
> Bryce Harrington wrote:
>
>> From: Giulio Camuffo
>>
>> Signed-off-by: Bryce Harrington
>> Reviewed-by: Quentin Glidic
>> Acked-by: Pekka Paalanen
>> ---
>&g
2016-04-07 1:46 GMT+03:00 Bryce Harrington :
> On Mon, Mar 28, 2016 at 10:17:20AM +0300, Giulio Camuffo wrote:
>> 2016-03-24 20:27 GMT+02:00 Bryce Harrington :
>> > Instead of having a single global idle tracker, track idling separately
>> > for each seat. Still treat
2016-03-30 21:26 GMT+03:00 Bryce Harrington :
> On Wed, Mar 30, 2016 at 09:05:07AM +0300, Giulio Camuffo wrote:
>> 2016-03-30 2:10 GMT+03:00 Bryce Harrington :
>> > On Wed, Mar 23, 2016 at 04:31:16PM +0200, Giulio Camuffo wrote:
>> >> The new wl_display_add_protocol_l
2016-03-30 2:10 GMT+03:00 Bryce Harrington :
> On Wed, Mar 23, 2016 at 04:31:16PM +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 or an
>> event is sent.
>&
2016-03-29 6:23 GMT+03:00 Drew DeVault :
> On 2016-03-29 2:15 AM, Martin Peres wrote:
>> I was proposing for applications to just bind the interface and see if it
>> works or not. But Giulio's proposal makes sense because it could be used to
>> both grant and revoke rights on the fly.
>
> I think
Sorry, i hit send by mistake before i was finished...
2016-03-28 11:45 GMT+03:00 Giulio Camuffo :
> 2016-03-21 23:58 GMT+02:00 Benoit Gschwind :
>> Use a "well" defined structure to configure x11-backend and move
>> configuration
>> file parsing inside the weston
2016-03-21 23:58 GMT+02:00 Benoit Gschwind :
> Use a "well" defined structure to configure x11-backend and move configuration
> file parsing inside the weston compositor code.
>
> v4: add struct_version, and check for null pointer of the configuration
> structure.
> v3: properly check memory error
2016-03-24 20:14 GMT+02:00 Bryce Harrington :
> This interface allows disabling of screensaver/screenblanking on a
> per-surface basis. As long as the surface remains visible and
> non-occluded it blocks the screensaver, etc. from activating on the
> output(s) that the surface is visible on.
>
> T
2016-03-24 20:27 GMT+02:00 Bryce Harrington :
> Surfaces flagged as 'active' are considered of primary urgency to the
> user. It might be the surface with the keyboard focus or displaying
> something important; the exact specification of what 'active' means is
> left as shell-specific.
>
> An 'act
2016-03-24 20:27 GMT+02:00 Bryce Harrington :
> Instead of having a single global idle tracker, track idling separately
> for each seat. Still treat inhibition on any one seat as inhibiting
> the screensaver globally, for now.
>
> Signed-off-by: Bryce Harrington
> ---
> src/compositor.c | 6 +++
2016-03-27 23:34 GMT+03:00 Drew DeVault :
> Greetings! I am the maintainer of the Sway Wayland compositor.
>
> http://swaywm.org
>
> It's almost the Year of Wayland on the Desktop(tm), and I have
> reached out to each of the projects this message is addressed to (GNOME,
> Kwin, and wayland-devel) t
.
Signed-off-by: Giulio Camuffo
---
src/connection.c | 117 ++
src/wayland-private.h | 4 ++
src/wayland-server-core.h | 13 ++
src/wayland-server.c | 94 ++---
4 files changed, 192 insertions(+), 36
2016-03-21 18:37 GMT+02:00 Miguel A. Vico :
> static void
> +gl_renderer_attach_egl_fd_texture(struct weston_surface *es,
> + struct weston_buffer *buffer,
> + EGLNativeFileDescriptorKHR streamFd)
> +{
> + struct weston_compo
This patch is a further step in the wl_fixed_t internal sanitization.
It changes the notify_* functions to take doubles instead of wl_fixed_t
but does not change how these are stored in the various input structs
yet, except for weston_pointer_axis_event.
However this already allows to remove all wl
This patch is a further step in the wl_fixed_t internal sanitization.
It changes the notify_* functions to take doubles instead of wl_fixed_t
but does not change how these are stored in the various input structs
yet, except for weston_pointer_axis_event.
However this already allows to remove all wl
2016-03-22 14:32 GMT+02:00 Pekka Paalanen :
> On Mon, 21 Mar 2016 13:29:00 +0200
> Giulio Camuffo wrote:
>
>> This patch is a further step in the wl_fixed_t internal sanitization.
>> It changes the notify_* functions to take doubles instead of wl_fixed_t
>> but do
This patch is a further step in the wl_fixed_t internal sanitization.
It changes the notify_* functions to take doubles instead of wl_fixed_t
but does not change how these are stored in the various input structs
yet, except for weston_pointer_axis_event.
However this already allows to remove all wl
2016-03-22 11:47 GMT+02:00 Daniel Stone :
> Hey Giulio,
>
> On 21 March 2016 at 11:29, Giulio Camuffo wrote:
>> @@ -1275,11 +1275,15 @@ input_set_cursor(struct wayland_input *input)
>> static void
>> input_handle_pointer_enter(void *data,
This patch is a further step in the wl_fixed_t internal sanitization.
It changes the notify_* functions to take doubles instead of wl_fixed_t
but does not change how these are stored in the various input structs
yet, except for weston_pointer_axis_event.
However this already allows to remove all wl
The wl_proxy_add_listener function is ill-named, because it suggests
that a proxy can have many listeners. Instead it can only have one so
deprecate the old function and add a new wl_proxy_set_listener. The
implementation of the new function is exactly the same implementation
wl_proxy_add_listener
2016-03-10 2:49 GMT+02:00 Bryce Harrington :
> From: Giulio Camuffo
>
> Signed-off-by: Bryce Harrington
> Reviewed-by: Quentin Glidic
> Acked-by: Pekka Paalanen
> ---
> v4: Update to current trunk
> - Add missing param doc for mode in drm_output_choose_initia
The wl_proxy_add_listener function is ill-named, because it suggests
that a proxy can have many listeners. Instead it can only have one so
deprecate the old function and add a new wl_proxy_set_listener. The
implementation of the new function is exactly the same implementation
wl_proxy_add_listener
uld be,
so for now i believe these patches stand on their own and they can be pushed
once R-b-ed.
Giulio Camuffo (4):
Add API to retrieve the interface of a wl_resource
Add API to get the list of connected clients
Add a resource creation signal
Add API to retrieve and iterate over the reso
From: Sungjae Park
Using display object, Emit a signal if a new client is created.
In the server-side, we can get the destroy event of a client,
But there is no way to get the created event of it.
Of course, we can get the client object from the global registry
binding callbacks.
But it can be c
To complement on the new resource created signal, this allows to
iterate over the existing resources of a client.
---
src/wayland-server-core.h | 8
src/wayland-server.c | 23 +++
2 files changed, 31 insertions(+)
diff --git a/src/wayland-server-core.h b/src/way
---
src/wayland-server-core.h | 14 +
src/wayland-server.c | 52 +++
2 files changed, 66 insertions(+)
diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h
index a4ca350..4201b2c 100644
--- a/src/wayland-server-core.h
+++
---
src/wayland-server-core.h | 4
src/wayland-server.c | 20
2 files changed, 24 insertions(+)
diff --git a/src/wayland-server-core.h b/src/wayland-server-core.h
index 4201b2c..9af2481 100644
--- a/src/wayland-server-core.h
+++ b/src/wayland-server-core.h
@@ -217,
---
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-core.h
index 1bc4d6b..a4ca350 100644
--- a/src/wayland-server-core.h
+++ b/src/wayland-server-core.h
@@ -419,6 +419,8 @
2016-02-20 5:20 GMT+02:00 Bryce Harrington :
> On Fri, Feb 12, 2016 at 09:03:16AM +0200, Giulio Camuffo wrote:
>> 2016-02-12 6:26 GMT+02:00 Bryce Harrington :
>> > On Fri, Jan 08, 2016 at 03:00:55PM -0600, Derek Foreman wrote:
>> >> Signed-off-by: Derek Foreman
&
2016-01-14 22:46 GMT+02:00 Derek Foreman :
> We shouldn't ever create a resource with version less than 1 or
> greater than the interface version.
There was a discussion in IRC some days ago, stemming from the bumping
of wl_buffer to v2 in your network patch series. Currently it's not
possible to
2016-02-12 6:26 GMT+02:00 Bryce Harrington :
> On Fri, Jan 08, 2016 at 03:00:55PM -0600, Derek Foreman wrote:
>> Signed-off-by: Derek Foreman
>> ---
>> clients/simple-touch.c | 18 +++---
>> 1 file changed, 15 insertions(+), 3 deletions(-)
>
> Given that the demo clients exist to show
Hi,
thanks, i think this was long overdue. I have a few comments below.
2016-02-04 11:59 GMT+02:00 :
> Using display object, if a new client is created, emit a signal.
>
> In the server-side, we can get the destroy event of a client,
The indentation is weird from here on.
> But the
2016-02-03 11:07 GMT+02:00 Jonas Ådahl :
> On Wed, Feb 03, 2016 at 11:02:14AM +0200, Giulio Camuffo wrote:
>> 2016-02-03 11:00 GMT+02:00 Jasper St. Pierre :
>> > No? The parent is the surface the tooltip is laid on top of.
>>
>> So where do the contents of the tooltip
101 - 200 of 745 matches
Mail list logo