mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-12-04 15:46:07 +00:00
* fix(linux): keep the window background transparent with Flutter >= 3.27 Since Flutter 3.27, FlView fills itself with an opaque black background unless fl_view_set_background_color() is called (flutter/engine#54575, the fix for flutter/flutter#152154). Newer versions also draw without a GtkGLArea, so find_gl_area() returns nothing and the window border and rounded corners are drawn black (e.g. with Flutter 3.44, which apply_flutter_3.44_source_patches.sh supports and distributions use). Make the view transparent with fl_view_set_background_color(), the API Flutter provides for this. Flutter >= 3.27 also sets up its GtkGLArea for transparency itself, so this replaces the GtkGLArea workaround there. The function is declared weak so that Flutter 3.24, which does not have it, still builds and keeps using the workaround. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Yichao Yu <yyc1992@gmail.com> * chore(flutter): bump desktop_multi_window for transparent Linux sub-windows Pulls in rustdesk-org/rustdesk_desktop_multi_window#41, the sub-window counterpart of this fix: with Flutter >= 3.27 the sub-window FlView needs fl_view_set_background_color() to stay transparent, otherwise remote-session windows get black borders and corners. It is a weak symbol, so the Flutter 3.24.5 builds are unchanged. The Flutter 3.44 and 3.22 bridge lock diffs do not touch this entry and still apply unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JAxkkig1bcC5Xrr1uwX47b --------- Signed-off-by: Yichao Yu <yyc1992@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
flutter_hbb
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples and guidance on mobile development, and a full API reference.