mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-24 09:05:48 -04:00
client/server: simplify setup packet handling
Instead of writing (and logging errors for) every parameter, one at a time, send all fixed size data in a single struct, followed by all the variable length data.
This commit is contained in:
parent
3640164917
commit
fc81f413c0
4 changed files with 127 additions and 178 deletions
|
|
@ -123,7 +123,7 @@ executable(
|
|||
'render.c', 'render.h',
|
||||
'search.c', 'search.h',
|
||||
'selection.c', 'selection.h',
|
||||
'server.c', 'server.h',
|
||||
'server.c', 'server.h', 'client-protocol.h',
|
||||
'shm.c', 'shm.h',
|
||||
'sixel.c', 'sixel.h',
|
||||
'slave.c', 'slave.h',
|
||||
|
|
@ -142,7 +142,7 @@ executable(
|
|||
|
||||
executable(
|
||||
'footclient',
|
||||
'client.c',
|
||||
'client.c', 'client-protocol.h',
|
||||
'log.c', 'log.h',
|
||||
'macros.h',
|
||||
'xmalloc.c', 'xmalloc.h',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue