diff options
author | Luke from DC <[email protected]> | 2023-06-15 18:30:56 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-15 18:30:56 +0000 |
commit | e61dad01e852d7913f4c9b3dae508088e3e7b287 (patch) | |
tree | 84712c763091a6890b8048468dcf8a399bb20ef3 /applets/notification_area/main.c | |
parent | 4350e7e839ec1ecd2eb063a2e250b843162ee418 (diff) | |
download | mate-panel-e61dad01e852d7913f4c9b3dae508088e3e7b287.tar.bz2 mate-panel-e61dad01e852d7913f4c9b3dae508088e3e7b287.tar.xz |
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
Diffstat (limited to 'applets/notification_area/main.c')
-rw-r--r-- | applets/notification_area/main.c | 5 |
1 files changed, 0 insertions, 5 deletions
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 |