client-toolkit
client-toolkit copied to clipboard
`RegistryState`/`GlobalList` redundancy
From what I understand, right now global handling is done in multiple steps:
-
waylad_client
:GlobalList
intercepts events and fills it's internalMutex<Vec<Global>>
. After the initial roundtrip it starts propagating new events. -
client-toolkit
:RegistryState
clones the list of globals fromGlobalList
and keeps it in sync.
It seems that having two copies of Vec<Global>
is redundant.