[fix] use custom titlebar only with X11

This commit is contained in:
dijunkun
2026-07-31 23:57:08 +08:00
parent dd16e65b68
commit 9d544788b0
2 changed files with 11 additions and 4 deletions
+1
View File
@@ -66,6 +66,7 @@ private:
std::unique_ptr<SlintUi> ui_;
#if defined(__linux__) && !defined(__APPLE__)
bool use_xwayland_gui_ = false;
bool use_x11_custom_titlebar_ = false;
#endif
};