From e61dad01e852d7913f4c9b3dae508088e3e7b287 Mon Sep 17 00:00:00 2001 From: Luke from DC Date: Thu, 15 Jun 2023 18:30:56 +0000 Subject: Wayland, Tray applet: allow in-process applet to load, using SNI only (#1372) *We cannot load the legacy system tray in Wayland as that requires xembed. *We CAN load the status-notifier (SNI support) *Wayland needs us to explicitly set gtk_button_set_always_show_image to TRUE *Wayland needs us to explicitly set gtk_image_menu_item_set_always_show_image to TRUE --- applets/notification_area/main.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'applets/notification_area/main.c') diff --git a/applets/notification_area/main.c b/applets/notification_area/main.c index ea1889d3..74eebea0 100644 --- a/applets/notification_area/main.c +++ b/applets/notification_area/main.c @@ -494,11 +494,6 @@ applet_factory (MatePanelApplet *applet, strcmp (iid, "SystemTrayApplet") == 0)) return FALSE; - if (!GDK_IS_X11_DISPLAY (gtk_widget_get_display (GTK_WIDGET (applet)))) { - g_warning ("Notification area only works on X"); - return FALSE; - } - #ifndef NOTIFICATION_AREA_INPROCESS gtk_window_set_default_icon_name (NOTIFICATION_AREA_ICON); #endif -- cgit v1.2.1