diff --git a/linux/window_manager_plugin.cc b/linux/window_manager_plugin.cc index c2c588a..0a28be4 100644 --- a/linux/window_manager_plugin.cc +++ b/linux/window_manager_plugin.cc @@ -18,17 +18,18 @@ struct _WindowManagerPlugin { FlPluginRegistrar* registrar; FlMethodChannel* channel; GdkGeometry window_geometry; - GtkWidget* _event_box = nullptr; - bool _is_prevent_close = false; - bool _is_maximized = false; - bool _is_minimized = false; - bool _is_fullscreen = false; - bool _is_always_on_top = false; - bool _is_always_on_bottom = false; - bool _is_dragging = false; - bool _is_resizing = false; - gchar* title_bar_style_ = strdup("normal"); - GdkEventButton _event_button = GdkEventButton{}; + GtkWidget* _event_box; + bool _is_prevent_close; + bool _is_frameless; + bool _is_maximized; + bool _is_minimized; + bool _is_fullscreen; + bool _is_always_on_top; + bool _is_always_on_bottom; + bool _is_dragging; + bool _is_resizing; + gchar* title_bar_style_; + GdkEventButton _event_button; GdkDevice* grab_pointer; GtkCssProvider* css_provider; };