summaryrefslogtreecommitdiff
path: root/src/xfce-desktop.h
diff options
context:
space:
mode:
authorAndre Miranda <andreldm@xfce.org>2021-01-10 01:00:24 +0100
committerAndre Miranda <andreldm@xfce.org>2021-01-10 01:00:24 +0100
commit958319c022a5d6db34e2ccd914eb34b45c281e2f (patch)
treed409cae5851d5c68eb9c3f9fcdfa9a9805765357 /src/xfce-desktop.h
parenta1daf3fcb8a9eeace9bbeafd550dc11ffb57fc68 (diff)
downloadxfdesktop-958319c022a5d6db34e2ccd914eb34b45c281e2f.tar.gz
Fix next background (!16)
Since libxfce4ui was ported to gtk3, "Change the background" is checked for only the first monitor, if enabled, "Next Background" is available to all monitors. When "Next Background" is activated, all monitors with "Change the background" enabled will have their wallpapers cycled. With this commit, "Next background" is only available to monitors with "Change the background" enabled and activating it will just update the wallpaper of the current monitor.
Diffstat (limited to 'src/xfce-desktop.h')
-rw-r--r--src/xfce-desktop.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xfce-desktop.h b/src/xfce-desktop.h
index 509ff6af..2fe53a03 100644
--- a/src/xfce-desktop.h
+++ b/src/xfce-desktop.h
@@ -111,7 +111,9 @@ void xfce_desktop_popup_secondary_root_menu(XfceDesktop *desktop,
guint button,
guint activate_time);
-void xfce_desktop_refresh(XfceDesktop *desktop, gboolean advance_wallpaper);
+void xfce_desktop_refresh(XfceDesktop *desktop,
+ gboolean advance_wallpaper,
+ gboolean all_monitors);
void xfce_desktop_arrange_icons(XfceDesktop *desktop);