diff --git a/flutter/linux/my_application.cc b/flutter/linux/my_application.cc
index 20513032d..deea3f549 100644
--- a/flutter/linux/my_application.cc
+++ b/flutter/linux/my_application.cc
@@ -19,6 +19,8 @@ static void my_application_activate(GApplication* application) {
   MyApplication* self = MY_APPLICATION(application);
   GtkWindow* window =
       GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));
+  // we have custom window frame
+  gtk_window_set_decorated(window, FALSE);
 
   // Use a header bar when running in GNOME as this is the common style used
   // by applications and is the setup most users will be using (e.g. Ubuntu
diff --git a/flutter/pubspec.lock b/flutter/pubspec.lock
index 61fbfc293..b1c603ff0 100644
--- a/flutter/pubspec.lock
+++ b/flutter/pubspec.lock
@@ -252,8 +252,8 @@ packages:
     dependency: "direct main"
     description:
       path: "."
-      ref: e0368a023ba195462acc00d33ab361b499f0e413
-      resolved-ref: e0368a023ba195462acc00d33ab361b499f0e413
+      ref: fee851fa43116e0b91c39acd0ec37063dc6015f8
+      resolved-ref: fee851fa43116e0b91c39acd0ec37063dc6015f8
       url: "https://github.com/Kingtous/rustdesk_desktop_multi_window"
     source: git
     version: "0.1.0"
diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml
index f2d038af3..f86c59755 100644
--- a/flutter/pubspec.yaml
+++ b/flutter/pubspec.yaml
@@ -62,7 +62,7 @@ dependencies:
     desktop_multi_window:
         git:
             url: https://github.com/Kingtous/rustdesk_desktop_multi_window
-            ref: e0368a023ba195462acc00d33ab361b499f0e413
+            ref: fee851fa43116e0b91c39acd0ec37063dc6015f8
     freezed_annotation: ^2.0.3
     tray_manager:
         git: