mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 18:36:11 +02:00
revert: remove conflict bitsdojo_window plugin for linux & macOS
Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
parent
eef20806d6
commit
d5c0bcea61
3 changed files with 9 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "my_application.h"
|
||||
|
||||
#include <flutter_linux/flutter_linux.h>
|
||||
#include <bitsdojo_window_linux/bitsdojo_window_plugin.h>
|
||||
// #include <bitsdojo_window_linux/bitsdojo_window_plugin.h>
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
#include <gdk/gdkx.h>
|
||||
#endif
|
||||
|
@ -48,8 +48,8 @@ static void my_application_activate(GApplication* application) {
|
|||
gtk_window_set_title(window, "rustdesk");
|
||||
}
|
||||
|
||||
auto bdw = bitsdojo_window_from(window); // <--- add this line
|
||||
bdw->setCustomFrame(true); // <-- add this line
|
||||
// auto bdw = bitsdojo_window_from(window); // <--- add this line
|
||||
// bdw->setCustomFrame(true); // <-- add this line
|
||||
gtk_window_set_default_size(window, 1280, 720); // <-- comment this line
|
||||
gtk_widget_show(GTK_WIDGET(window));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue