summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-desktop-wayland-bg-dialog.h
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2023-12-15 02:06:53 -0500
committerLuke from DC <[email protected]>2024-01-17 00:33:59 +0000
commit3d06d8b6dd1a26c26f34816a347524aeff3430b2 (patch)
tree109aa2a1f19c02490c3ef0115256cd8ec18cc149 /src/file-manager/fm-desktop-wayland-bg-dialog.h
parent8bb93666b35ee6277071d1b5ab4d52ae57d06975 (diff)
downloadcaja-3d06d8b6dd1a26c26f34816a347524aeff3430b2.tar.bz2
caja-3d06d8b6dd1a26c26f34816a347524aeff3430b2.tar.xz
Manage desktop backgrounds when running in wayland
*Draw the background on the desktop window, using the same code as on navigation windows to bypass the no-root-window issue. *Works from caja's "Change Desktop Background" menu item, from caja-extensions "set as wallpaper" and with changing the background in dconf-editor. *All background options available in x11 supported in wayland, UI is new for wayland *Apply changes immediately, keep the dialog open until closed by user *Let users see changes in realtime while keeping the dialog open *Preview both colors and pictures *Add ability to apply changes from either combobox including using any image saved from when dialog was opened *Add tooltips to the buttons, filepicker, and comboboxes
Diffstat (limited to 'src/file-manager/fm-desktop-wayland-bg-dialog.h')
-rw-r--r--src/file-manager/fm-desktop-wayland-bg-dialog.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/file-manager/fm-desktop-wayland-bg-dialog.h b/src/file-manager/fm-desktop-wayland-bg-dialog.h
new file mode 100644
index 00000000..65858c05
--- /dev/null
+++ b/src/file-manager/fm-desktop-wayland-bg-dialog.h
@@ -0,0 +1,28 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+
+/* fm-icon-container.h - the container widget for file manager icons
+
+ Copyright (C) 2024 Luke <[email protected]>
+
+ The Mate Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The Mate Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the Mate Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+
+ Author: Luke <[email protected]>
+*/
+#ifdef HAVE_WAYLAND
+#include "fm-desktop-icon-view.h"
+
+void wayland_bg_dialog_new (void);
+#endif