diff --git a/include/freerdp/event.h b/include/freerdp/event.h index 7753e133d..a41fe0a60 100644 --- a/include/freerdp/event.h +++ b/include/freerdp/event.h @@ -47,6 +47,15 @@ DEFINE_EVENT_BEGIN(EmbedWindow) void* handle; DEFINE_EVENT_END(EmbedWindow) +DEFINE_EVENT_BEGIN(PanningChange) + int XPan; + int YPan; +DEFINE_EVENT_END(PanningChange) + +DEFINE_EVENT_BEGIN(ScalingFactorChange) + double ScalingFactor; +DEFINE_EVENT_END(ScalingFactorChange) + DEFINE_EVENT_BEGIN(ErrorInfo) UINT32 code; DEFINE_EVENT_END(ErrorInfo) diff --git a/libfreerdp/core/freerdp.c b/libfreerdp/core/freerdp.c index 3c77b8e05..7d0c3c0ba 100644 --- a/libfreerdp/core/freerdp.c +++ b/libfreerdp/core/freerdp.c @@ -323,6 +323,8 @@ static wEventType FreeRDP_Events[] = DEFINE_EVENT_ENTRY(WindowStateChange) DEFINE_EVENT_ENTRY(ResizeWindow) DEFINE_EVENT_ENTRY(EmbedWindow) + DEFINE_EVENT_ENTRY(PanningChange) + DEFINE_EVENT_ENTRY(ScalingFactorChange) DEFINE_EVENT_ENTRY(ErrorInfo) DEFINE_EVENT_ENTRY(ParamChange) DEFINE_EVENT_ENTRY(Terminate)