From 053a0f86ad7ace9d0496b3cc976c59e24a288f1e Mon Sep 17 00:00:00 2001 From: dijunkun Date: Thu, 13 Jun 2024 16:36:11 +0800 Subject: [PATCH] Add mouse control flag --- src/main_window/main_window_callback_func.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main_window/main_window_callback_func.cpp b/src/main_window/main_window_callback_func.cpp index 16c15ca..0d86a28 100644 --- a/src/main_window/main_window_callback_func.cpp +++ b/src/main_window/main_window_callback_func.cpp @@ -6,6 +6,11 @@ #define REFRESH_EVENT (SDL_USEREVENT + 1) #define NV12_BUFFER_SIZE 1280 * 720 * 3 / 2 +#ifdef REMOTE_DESK_DEBUG +#else +#define MOUSE_CONTROL 1 +#endif + int MainWindow::ProcessMouseKeyEven(SDL_Event &ev) { float ratio = (float)(1280.0 / main_window_width_);