Move all state-change logic into new Changes class. DeviceTree and CommandList are now basically dumb display widgets that get regenerated every time something changes (much easier than updating them constantly to track pending changes.)
Move all state-change logic into new Changes class.
DeviceTree and CommandList are now basically dumb display widgets that get
regenerated every time something changes (much easier than updating them
constantly to track pending changes.)

Max-E/xinput-ui