mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 15:11:31 +00:00
[idd] common: centralize nonzero sequences
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "transport/CInputHub.h"
|
||||
|
||||
#include "input/IInputSink.h"
|
||||
#include "Seq.h"
|
||||
|
||||
static bool SameClient(const SourceKey& left, const SourceKey& right)
|
||||
{
|
||||
@@ -510,9 +511,7 @@ void CInputHub::InvalidateInteraction()
|
||||
|
||||
void CInputHub::AdvanceInteractionSerial()
|
||||
{
|
||||
++m_interactionSerial;
|
||||
if (!m_interactionSerial)
|
||||
++m_interactionSerial;
|
||||
Seq::Inc(m_interactionSerial);
|
||||
}
|
||||
|
||||
bool CInputHub::CheckState()
|
||||
|
||||
Reference in New Issue
Block a user