Currently WindowServer has client_id 0, WindowManager 1, other clients 2++. This is confusing when we print out the id. Ids sent by clients in WindowTree also have client_id 0 before we fill in the real one so it's hard to tell if a window with client_id 0 is actually created by WS or just haven't been processed (fill in the real id) by the WindowTree yet.
It would help debugging if we increment all client_id by 1, i.e. WS 1, WM2, other clients 3++. This also requires a lot of id changes in tests.
Comment 1 by bugdroid1@chromium.org
, Sep 6 2017