支持 client 窗口浮动

This commit is contained in:
2026-01-28 23:40:15 +08:00
parent 5ecaa97f10
commit a772d0f56f
9 changed files with 75 additions and 18 deletions

View File

@@ -88,6 +88,11 @@ static inline void logger(const char *format, ...) {
#define logger(format, ...) printf(format, ##__VA_ARGS__)
#endif
#ifdef MIN
#undef MIN
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif
#ifdef MAX
#undef MAX
#define MAX(a, b) (((a) > (b)) ? (a) : (b))