mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-10 00:11:43 +08:00
Moved clipboard changed event to CClientProxy because only it
and CServer use it. CServerProxy instead makes a direct call to CClient, like it does for most other messages.
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
CEvent::Type IScreen::s_errorEvent = CEvent::kUnknown;
|
||||
CEvent::Type IScreen::s_shapeChangedEvent = CEvent::kUnknown;
|
||||
CEvent::Type IScreen::s_clipboardGrabbedEvent = CEvent::kUnknown;
|
||||
CEvent::Type IScreen::s_clipboardChangedEvent = CEvent::kUnknown;
|
||||
|
||||
CEvent::Type
|
||||
IScreen::getErrorEvent()
|
||||
@@ -43,10 +42,3 @@ IScreen::getClipboardGrabbedEvent()
|
||||
return CEvent::registerTypeOnce(s_clipboardGrabbedEvent,
|
||||
"IScreen::clipboardGrabbed");
|
||||
}
|
||||
|
||||
CEvent::Type
|
||||
IScreen::getClipboardChangedEvent()
|
||||
{
|
||||
return CEvent::registerTypeOnce(s_clipboardChangedEvent,
|
||||
"IScreen::clipboardChanged");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user