diff options
Diffstat (limited to 'mate-panel/panel-background-monitor.c')
-rw-r--r-- | mate-panel/panel-background-monitor.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mate-panel/panel-background-monitor.c b/mate-panel/panel-background-monitor.c index ce9737cf..2bd7fe15 100644 --- a/mate-panel/panel-background-monitor.c +++ b/mate-panel/panel-background-monitor.c @@ -84,6 +84,13 @@ static PanelBackgroundMonitor **global_background_monitors = NULL; static guint signals [LAST_SIGNAL] = { 0 }; +#if GTK_CHECK_VERSION(3, 0, 0) +gboolean gdk_window_check_composited_wm(GdkWindow* window) +{ + return gdk_screen_is_composited(gdk_window_get_screen(window)); +} +#endif + static void panel_background_monitor_finalize (GObject *object) { |