diff options
author | William Wold <[email protected]> | 2019-06-18 22:08:45 +0000 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-21 18:41:12 +0200 |
commit | 8cb8f197fe2cf2babae6824b2dd89c4b712eaa19 (patch) | |
tree | e1c895e565926ce9c628f564e1495453f8ea136d /mate-panel/panel-background.h | |
parent | 592f9c1ba5e8a1719551fe545f8f3e2d82c8b22b (diff) | |
download | mate-panel-8cb8f197fe2cf2babae6824b2dd89c4b712eaa19.tar.bz2 mate-panel-8cb8f197fe2cf2babae6824b2dd89c4b712eaa19.tar.xz |
Make panel-background Wayland ready
Diffstat (limited to 'mate-panel/panel-background.h')
-rw-r--r-- | mate-panel/panel-background.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mate-panel/panel-background.h b/mate-panel/panel-background.h index aa0183ed..65baf2a2 100644 --- a/mate-panel/panel-background.h +++ b/mate-panel/panel-background.h @@ -25,12 +25,17 @@ #ifndef __PANEL_BACKGROUND_H__ #define __PANEL_BACKGROUND_H__ +#include <config.h> + #include <glib.h> #include <gtk/gtk.h> #include "panel-enums.h" #include "panel-types.h" + +#ifdef HAVE_X11 #include "panel-background-monitor.h" +#endif typedef struct _PanelBackground PanelBackground; @@ -54,9 +59,11 @@ struct _PanelBackground { GdkPixbuf *transformed_image; cairo_pattern_t *composited_pattern; +#ifdef HAVE_X11 PanelBackgroundMonitor *monitor; GdkPixbuf *desktop; gulong monitor_signal; +#endif // HAVE_X11 GdkWindow *window; cairo_pattern_t *default_pattern; |