diff options
author | William Wold <[email protected]> | 2019-02-11 16:32:19 -0500 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-10 15:11:45 +0100 |
commit | 59a633d981b39cecd530ef00ed9cada69bf809e5 (patch) | |
tree | e8819247852a2a6ff8930912b0045b6e89943281 /mate-panel/panel-util.h | |
parent | 7f72e0ad603cd76c7b65ce31af4afb691da36f88 (diff) | |
download | mate-panel-59a633d981b39cecd530ef00ed9cada69bf809e5.tar.bz2 mate-panel-59a633d981b39cecd530ef00ed9cada69bf809e5.tar.xz |
Wayland support for panel-util.c/.h
Diffstat (limited to 'mate-panel/panel-util.h')
-rw-r--r-- | mate-panel/panel-util.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mate-panel/panel-util.h b/mate-panel/panel-util.h index fb1303a3..b80740f8 100644 --- a/mate-panel/panel-util.h +++ b/mate-panel/panel-util.h @@ -3,7 +3,10 @@ #include <gio/gio.h> #include <gtk/gtk.h> + +#ifdef HAVE_X11 #include <X11/Xlib.h> +#endif #ifdef __cplusplus extern "C" { @@ -67,10 +70,13 @@ void panel_util_set_tooltip_text (GtkWidget *widget, GFile *panel_util_get_file_optional_homedir (const char *location); -Window panel_util_get_current_active_window (GtkWidget *toplevel); +#ifdef HAVE_X11 +Window panel_util_get_current_active_x11_window (GtkWidget *toplevel); -void panel_util_set_current_active_window (GtkWidget *toplevel, +void panel_util_set_current_active_x11_window (GtkWidget *toplevel, Window window); +#endif + #ifdef __cplusplus } #endif |