From b57daee828b67a9c6d1912787592b7000a40ac8d Mon Sep 17 00:00:00 2001 From: William Wold Date: Wed, 23 Jan 2019 09:33:43 -0500 Subject: libmate-panel-applet: Add comments in headers to explain Wayland behavior --- libmate-panel-applet/mate-panel-applet.h | 1 + libmate-panel-applet/panel-applet-private.h | 1 + libmate-panel-applet/panel-plug-private.h | 2 ++ 3 files changed, 4 insertions(+) diff --git a/libmate-panel-applet/mate-panel-applet.h b/libmate-panel-applet/mate-panel-applet.h index 931a681f..d146c939 100644 --- a/libmate-panel-applet/mate-panel-applet.h +++ b/libmate-panel-applet/mate-panel-applet.h @@ -107,6 +107,7 @@ void mate_panel_applet_set_size_hints(MatePanelApplet* applet, const int* size_h gboolean mate_panel_applet_get_locked_down(MatePanelApplet* applet); +// Does nothing when not on X11 void mate_panel_applet_request_focus(MatePanelApplet* applet, guint32 timestamp); void mate_panel_applet_setup_menu(MatePanelApplet* applet, const gchar* xml, GtkActionGroup* action_group); diff --git a/libmate-panel-applet/panel-applet-private.h b/libmate-panel-applet/panel-applet-private.h index fe3e013b..637f0d81 100644 --- a/libmate-panel-applet/panel-applet-private.h +++ b/libmate-panel-applet/panel-applet-private.h @@ -25,6 +25,7 @@ G_BEGIN_DECLS +// Returns 0 when not on X11 guint32 mate_panel_applet_get_xid (MatePanelApplet *applet, GdkScreen *screen); const gchar *mate_panel_applet_get_object_path (MatePanelApplet *applet); diff --git a/libmate-panel-applet/panel-plug-private.h b/libmate-panel-applet/panel-plug-private.h index 0940b70f..0f5933f0 100644 --- a/libmate-panel-applet/panel-plug-private.h +++ b/libmate-panel-applet/panel-plug-private.h @@ -15,6 +15,8 @@ * along with this program. If not, see . */ +// File should only be used on X11 + #ifndef PANEL_PLUG_PRIVATE_H #define PANEL_PLUG_PRIVATE_H -- cgit v1.2.1