mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 14:41:57 +08:00
moved onError() method to IScreenReceiver from IPrimaryScreenReceiver.
also implemented onError in CClient which previously did not have any way to handle display disconnection.
This commit is contained in:
@@ -145,12 +145,6 @@ CMSWindowsPrimaryScreen::getScreen() const
|
||||
return m_screen;
|
||||
}
|
||||
|
||||
void
|
||||
CMSWindowsPrimaryScreen::onError()
|
||||
{
|
||||
// ignore
|
||||
}
|
||||
|
||||
void
|
||||
CMSWindowsPrimaryScreen::onScreensaver(bool activated)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user