mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-11 14:15:46 +08:00
Fixed synergy quiting when powerdvd stops playing a DVD. This may
fix some other bugs that involve unexpectedly quiting. The problem was that synergy would (cleanly) quit when receiving an event with a message id of 0 when not running as a service.
This commit is contained in:
@@ -97,7 +97,7 @@ CMSWindowsEventQueueBuffer::getEvent(CEvent& event, UInt32& dataID)
|
||||
event = CEvent(CEvent::kQuit);
|
||||
return kSystem;
|
||||
}
|
||||
else if (m_event.message == m_daemonQuit) {
|
||||
else if (m_daemonQuit != 0 && m_event.message == m_daemonQuit) {
|
||||
event = CEvent(CEvent::kQuit);
|
||||
return kSystem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user