diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-10-25 10:28:23 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-10-25 10:28:23 -0400 |
commit | 6866856dfda896fa657b0aac6e90d833c5bda744 (patch) | |
tree | 8942deef1e9c403c120e696e55d43454cb686bdb | |
parent | cf2bc67ccdf7468e906615840ecd5eb41f17e622 (diff) |
Remove leftover of fds_in_tail hack
It's breaking the case of multiple fds in one buffer.
-rw-r--r-- | TODO | 5 | ||||
-rw-r--r-- | wayland/connection.c | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -8,7 +8,10 @@ Core wayland protocol - The message format has to include information about number of fds in the message so we can skip a message correctly. Or we should - just give up on trying to recover from unknown messages. + just give up on trying to recover from unknown messages. We need + to make sure you never get a message from an interface you don't + know about (using per-client id space and subscribe) or include + information on number of fds, so marshalling logic can skip. - generate pointer_focus (and drag focus) on raise/lower, move windows, all kinds of changes in surface stacking. diff --git a/wayland/connection.c b/wayland/connection.c index e0eee73..dadf2c3 100644 --- a/wayland/connection.c +++ b/wayland/connection.c @@ -58,7 +58,6 @@ struct wl_closure { struct wl_connection { struct wl_buffer in, out; struct wl_buffer fds_in, fds_out; - int fds_in_tail; int fd; void *data; wl_connection_update_func_t update; @@ -190,7 +189,6 @@ void wl_connection_consume(struct wl_connection *connection, size_t size) { connection->in.tail += size; - connection->fds_in.tail = connection->fds_in_tail; } static void |