Hi!
First, I hope that this is the correct place to post, as I'm not really a
developer, but don't know where else to go. I'm running Ubuntu Gnome 16.10
and using the libinput that is packaged with Ubuntu. I *think* It's the
1.6 version, but I really don't know and that's actually one of my
On 13/04/17 03:23 PM, Daniel Stone wrote:
Hi Derek,
On 13 April 2017 at 21:11, Derek Foreman wrote:
commit a7cba1d4cd4c9013c3ac6cb074fcb7842fb39283 changed the way
the cursor plane is setup. Previously it was pre-emptively set
disabled for the next frame, and that
Hi Derek,
On 13 April 2017 at 21:11, Derek Foreman wrote:
> commit a7cba1d4cd4c9013c3ac6cb074fcb7842fb39283 changed the way
> the cursor plane is setup. Previously it was pre-emptively set
> disabled for the next frame, and that would be changed at next
> frame time if
commit a7cba1d4cd4c9013c3ac6cb074fcb7842fb39283 changed the way
the cursor plane is setup. Previously it was pre-emptively set
disabled for the next frame, and that would be changed at next
frame time if the cursor plane was to be used. It was changed
to be disabled at plane assignment time.
We
From: Quentin Glidic
When switching a state twice in a row, we were overwriting the old value
without setting it back, sending a wrong state to the client.
Now we update our requested state, then check if we need to schedule a
configure event, if we have one
commit a7cba1d4cd4c9013c3ac6cb074fcb7842fb39283 changed the way
the cursor plane is setup. Previously it was pre-emptively set
disabled for the next frame, and that would be changed at next
frame time if the cursor plane was to be used. It was changed
to be disabled at plane assignment time.
We
Until recently, if an event attempting to deliver an fd to a zombie
object was demarshalled after the object was made into a zombie, we
leaked the fd and left it in the buffer.
If another event attempting to deliver an fd to a live object was in that
same buffer, the zombie's fd would be
We need to close file descriptors sent to zombie proxies to avoid leaking
them, and perhaps more importantly, to prevent them from being dispatched
in events on other objects (since they would previously be left in the
buffer and potentially fed to following events destined for live proxies)
Until recently, if a client destroying a resource raced with the
server generating an event on that resource that delivered a file
descriptor, we would leak the fd.
This tests for a leaked fd from that race condition.
Signed-off-by: Derek Foreman
---
Makefile.am
There were two places where we did the same calculation manually.
Signed-off-by: Derek Foreman
---
src/connection.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index 2bfdd82..bd66e94 100644
---
Using the singleton zombie object doesn't allow us to posthumously retain
object interface information, which makes it difficult to properly inter
future events destined for the recently deceased proxy.
Notably, this makes it impossible for zombie proxy destined file
descriptors to be properly
Both the blocks in this if/else clause do the same thing, so combine
the comparisons into one.
No functional change.
Reviewed-by: Bryce Harrington
Signed-off-by: Derek Foreman
---
src/wayland-client.c | 5 +
1 file changed, 1 insertion(+), 4
When we have a closure that can't be dispatched for some reason, and it
contains file descriptors, we must close those descriptors to prevent
leaking them.
Signed-off-by: Derek Foreman
---
src/connection.c | 35 ---
On the client side we're going to need to know if an object from the
map is a zombie before we attempt to dereference it, so we need to
pass this to the iterator.
Signed-off-by: Derek Foreman
---
src/wayland-private.h | 3 ++-
src/wayland-server.c | 21
If we fail to demarshal a closure we need to close any fds we've
already removed from the buffer. The rest will be cleaned up when
client_destroy results in a connection_flush.
Signed-off-by: Derek Foreman
---
src/connection.c | 5 +
1 file changed, 5 insertions(+)
Changes since the first edition:
Moved the test cases to the end so they're not introduced in a failed
state.
Reworked the removal of the global zombie singleton patch - we now
create a wl_zombie at proxy creation time and store the number of
fds for each opcode in that. If no signature requires
All current callers close all fds, so this has gone unnoticed, but if
we close less than all fds with close_fds() we leak all the unclosed
ones and ruin further event demarshalling.
A future patch will close less than the full buffer's worth of fds,
so this is now noticed.
Signed-off-by: Derek
2017-03-02 9:47 GMT+01:00 Ucan, Emre (ADITG/SW1) :
> It is analagous to layer_remove_surface API.
> The API removes a layer from the render order
> of the screen.
>
> v3:
> add the new vfunc at the end of
> the ivi_layout_interface struct.
>
> Signed-off-by: Emre Ucan
Hi Pekka,
On 18 January 2017 at 13:37, Pekka Paalanen wrote:
> having 20 patches from the series already merged, it is time to re-send the
> remaining ones rebased.
And now that Louis-Francis has had time to look at them more
carefully, and me a little bit (this takes a
Hi Louis-Francis,
On 11 April 2017 at 21:52, Louis-Francis Ratté-Boulianne
wrote:
> Implement NET_WM_SYNC_REQUEST protocol for throtting X11 window resizes
> in Weston's XWM. We wait for the window to be drawn (by setting an
> alarm on the sync counter) before configuring the
20 matches
Mail list logo