diff options
author | William Wold <[email protected]> | 2019-01-23 09:33:43 -0500 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-01-25 18:52:06 +0100 |
commit | b57daee828b67a9c6d1912787592b7000a40ac8d (patch) | |
tree | 05e249f2c6b4d12acbd9e48c35e8108f723de3ae /libmate-panel-applet | |
parent | d30deb00087c7de459775a565d1d6f9db4909913 (diff) | |
download | mate-panel-b57daee828b67a9c6d1912787592b7000a40ac8d.tar.bz2 mate-panel-b57daee828b67a9c6d1912787592b7000a40ac8d.tar.xz |
libmate-panel-applet: Add comments in headers to explain Wayland behavior
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.h | 1 | ||||
-rw-r--r-- | libmate-panel-applet/panel-applet-private.h | 1 | ||||
-rw-r--r-- | libmate-panel-applet/panel-plug-private.h | 2 |
3 files changed, 4 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. */ +// File should only be used on X11 + #ifndef PANEL_PLUG_PRIVATE_H #define PANEL_PLUG_PRIVATE_H |