diff --git a/client/main.c b/client/main.c index a49f9371..b34d7dff 100644 --- a/client/main.c +++ b/client/main.c @@ -526,6 +526,13 @@ int eventFilter(void * userdata, SDL_Event * event) SDL_SetRelativeMouseMode(serverMode); DEBUG_INFO("Server Mode: %s", serverMode ? "on" : "off"); + if (state.lgr) + state.lgr->on_alert( + state.lgrData, + LG_ALERT_INFO, + serverMode ? "Capture Enabled" : "Capture Disabled" + ); + if (!serverMode) realignGuest = true; break;