diff --git a/remote_desk_gui/main.cpp b/remote_desk_gui/main.cpp index 649fb60..273ae61 100644 --- a/remote_desk_gui/main.cpp +++ b/remote_desk_gui/main.cpp @@ -702,7 +702,7 @@ int main() { SDL_RenderCopy(sdlRenderer, sdlTexture, NULL, &sdlRect); } else { if (joined) { - ProcessMouseKeyEven(event); + // ProcessMouseKeyEven(event); } } } diff --git a/screen_capture/linux/screen_capture_x11.cpp b/screen_capture/linux/screen_capture_x11.cpp index 0ab6619..8699d45 100644 --- a/screen_capture/linux/screen_capture_x11.cpp +++ b/screen_capture/linux/screen_capture_x11.cpp @@ -26,7 +26,7 @@ int ScreenCaptureX11::Init(const RECORD_DESKTOP_RECT &rect, const int fps, // grabbing frame rate av_dict_set(&options_, "framerate", "30", 0); // Make the grabbed area follow the mouse - // av_dict_set(&options_, "follow_mouse", "centered", 0); + av_dict_set(&options_, "follow_mouse", "centered", 0); // Video frame size. The default is to capture the full screen av_dict_set(&options_, "video_size", "1280x720", 0); ifmt_ = (AVInputFormat *)av_find_input_format("x11grab");