Skip to content

Commit b57daee

Browse files
wmwwraveit65
authored and
raveit65
committed
libmate-panel-applet: Add comments in headers to explain Wayland behavior
1 parent d30deb0 commit b57daee

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

libmate-panel-applet/mate-panel-applet.h

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ void mate_panel_applet_set_size_hints(MatePanelApplet* applet, const int* size_h
107107

108108
gboolean mate_panel_applet_get_locked_down(MatePanelApplet* applet);
109109

110+
// Does nothing when not on X11
110111
void mate_panel_applet_request_focus(MatePanelApplet* applet, guint32 timestamp);
111112

112113
void mate_panel_applet_setup_menu(MatePanelApplet* applet, const gchar* xml, GtkActionGroup* action_group);

libmate-panel-applet/panel-applet-private.h

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
G_BEGIN_DECLS
2727

28+
// Returns 0 when not on X11
2829
guint32 mate_panel_applet_get_xid (MatePanelApplet *applet,
2930
GdkScreen *screen);
3031
const gchar *mate_panel_applet_get_object_path (MatePanelApplet *applet);

libmate-panel-applet/panel-plug-private.h

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
*/
1717

18+
// File should only be used on X11
19+
1820
#ifndef PANEL_PLUG_PRIVATE_H
1921
#define PANEL_PLUG_PRIVATE_H
2022

0 commit comments

Comments
 (0)