mirror of
https://github.com/sol1/rustguac.git
synced 2026-09-10 09:35:45 +00:00
928c6d4862
fit-on-connect: a session opened in a new window (at a fixed size), or otherwise created at dimensions that differ from the viewing window, now fits the window without a manual resize. The client previously only sent a size on a window-resize event. The one-time fit is retried past the point where the resize path becomes ready (RDP Display Control channel connected / SPICE agent and display ready) because an early send is silently dropped; guacd coalesces the retries into a single resize since the requested size is unchanged. pop-out teardown: a monitor pop-out is only a satellite of the main window (it blits from that window's canvas and sends input through its client), so it cannot outlive it. Closing the main window now closes its pop-outs instead of leaving a frozen orphan, and a session disconnect shows a "Disconnected" overlay in the pop-out rather than a stale live image.