From bc39f28a9529e4b81f9af282f173a628d76d4255 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 10 Oct 2016 12:07:27 +0200 Subject: [PATCH 1/2] Fixed regression from rebase. --- server/shadow/Mac/mac_shadow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/shadow/Mac/mac_shadow.c b/server/shadow/Mac/mac_shadow.c index 4884e9323..93359fff7 100644 --- a/server/shadow/Mac/mac_shadow.c +++ b/server/shadow/Mac/mac_shadow.c @@ -483,6 +483,8 @@ static int mac_shadow_screen_grab(macShadowSubsystem* subsystem) static int mac_shadow_subsystem_process_message(macShadowSubsystem* subsystem, wMessage* message) { + rdpShadowServer* server = subsystem->server; + rdpShadowSurface* surface = server->surface; switch (message->id) { case SHADOW_MSG_IN_REFRESH_REQUEST_ID: From cf2ec62d595bf53ce567ff902d2b8520d7a1380f Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 10 Oct 2016 12:10:29 +0200 Subject: [PATCH 2/2] Reformatted file. --- server/shadow/Mac/mac_shadow.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/shadow/Mac/mac_shadow.c b/server/shadow/Mac/mac_shadow.c index 93359fff7..d29f929f9 100644 --- a/server/shadow/Mac/mac_shadow.c +++ b/server/shadow/Mac/mac_shadow.c @@ -483,8 +483,9 @@ static int mac_shadow_screen_grab(macShadowSubsystem* subsystem) static int mac_shadow_subsystem_process_message(macShadowSubsystem* subsystem, wMessage* message) { - rdpShadowServer* server = subsystem->server; - rdpShadowSurface* surface = server->surface; + rdpShadowServer* server = subsystem->server; + rdpShadowSurface* surface = server->surface; + switch (message->id) { case SHADOW_MSG_IN_REFRESH_REQUEST_ID: