mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 18:36:11 +02:00
fix: linux wayland frame of subwindow exists
Signed-off-by: Kingtous <kingtous@qq.com>
This commit is contained in:
parent
f385127f3b
commit
4c499ecf2e
3 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue