fix: refine Wayland window behavior and titlebars

This commit is contained in:
dijunkun
2026-07-23 20:40:13 +08:00
parent 3a72e4849e
commit 6f5faa7111
6 changed files with 696 additions and 22 deletions
+6
View File
@@ -36,6 +36,9 @@ private:
void SyncPlatformDialogs();
void SyncStreamWindow();
void SyncServerWindow();
#if defined(__linux__) && !defined(__APPLE__)
void SyncXWaylandWindowActivation();
#endif
void UpdateLocalization();
void ResetSettingsUi();
void SaveSettingsFromUi();
@@ -59,6 +62,9 @@ private:
bool OpenUrl(const std::string &url);
std::unique_ptr<SlintUi> ui_;
#if defined(__linux__) && !defined(__APPLE__)
bool use_xwayland_gui_ = false;
#endif
};
} // namespace crossdesk