mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
Not control mouse in DEBUG mode
This commit is contained in:
@@ -39,7 +39,12 @@ extern "C" {
|
|||||||
#include "x.h"
|
#include "x.h"
|
||||||
|
|
||||||
#define NV12_BUFFER_SIZE 1280 * 720 * 3 / 2
|
#define NV12_BUFFER_SIZE 1280 * 720 * 3 / 2
|
||||||
|
|
||||||
|
#ifdef REMOTE_DESK_DEBUG
|
||||||
#define MOUSE_CONTROL 0
|
#define MOUSE_CONTROL 0
|
||||||
|
#else
|
||||||
|
#define MOUSE_CONTROL 1
|
||||||
|
#endif
|
||||||
|
|
||||||
int screen_w = 1280, screen_h = 720;
|
int screen_w = 1280, screen_h = 720;
|
||||||
const int pixel_w = 1280, pixel_h = 720;
|
const int pixel_w = 1280, pixel_h = 720;
|
||||||
|
|||||||
@@ -22,6 +22,10 @@ elseif is_os("macosx") then
|
|||||||
add_requires("ffmpeg 5.1.2", {system = false})
|
add_requires("ffmpeg 5.1.2", {system = false})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if is_mode("debug") then
|
||||||
|
add_defines("REMOTE_DESK_DEBUG")
|
||||||
|
end
|
||||||
|
|
||||||
add_packages("spdlog")
|
add_packages("spdlog")
|
||||||
|
|
||||||
includes("thirdparty")
|
includes("thirdparty")
|
||||||
|
|||||||
Reference in New Issue
Block a user