[fix] show truthful signaling recovery state and pin safe retries

This commit is contained in:
dijunkun
2026-10-11 15:35:11 +08:00
parent 0e7d175631
commit 05f6d3d90a
7 changed files with 53 additions and 25 deletions
@@ -14,6 +14,7 @@
#include <remote_action.h>
#include "application/signal_connection_indicator.h"
#include "runtime/cursor_state_provider.h"
#include "runtime/gui_runtime.h"
@@ -106,11 +107,7 @@ private:
cursor_delivery_states_;
uint32_t cursor_state_sequence_ = 0;
std::chrono::steady_clock::time_point next_video_frame_time_{};
// The signal server is reached over a lossy path that routinely drops for the
// few seconds a reconnect takes, so the main window holds its "connected"
// indication through a brief blip instead of flickering offline.
std::chrono::steady_clock::time_point signal_lost_at_{};
bool signal_lost_at_valid_ = false;
SignalConnectionIndicator signal_connection_indicator_;
#if defined(__linux__) && !defined(__APPLE__)
bool use_xwayland_gui_ = false;
bool use_x11_custom_titlebar_ = false;