diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-09-26 14:38:25 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-09-26 17:41:37 +0200 |
commit | b0289e7f6ddebdd2bdefa63e2b4afcb29733b3b7 (patch) | |
tree | dea172d18b22c9a5cb6124a4e9b024311bb5d329 /test/lisp/emacs-lisp/macroexp-tests.el | |
parent | 35d5ad713ee05f5cd922f66462df41deed95f7e8 (diff) | |
download | emacs-b0289e7f6ddebdd2bdefa63e2b4afcb29733b3b7.tar.gz emacs-b0289e7f6ddebdd2bdefa63e2b4afcb29733b3b7.tar.bz2 emacs-b0289e7f6ddebdd2bdefa63e2b4afcb29733b3b7.zip |
Fix setting the wallpaper in XFCE
* lisp/image/wallpaper.el (wallpaper-command-args)
(wallpaper-default-set-function): Support new format specifiers
%S for screen, %W for workspace, and %M for monitor.
(wallpaper--default-setters): Use above new specifiers for XFCE.
(wallpaper--format-arg): New defun broken out from...
(wallpaper-default-set-function): ...here.
(wallpaper--get-height-or-width): Support noninteractive use.
* test/lisp/image/wallpaper-tests.el (wallpaper--format-arg/filename)
(wallpaper--format-arg/filename-hex)
(wallpaper--format-arg/width, wallpaper--format-arg/screen)
(wallpaper--format-arg/monitor, wallpaper--format-arg/workspace):
New tests.
Diffstat (limited to 'test/lisp/emacs-lisp/macroexp-tests.el')
0 files changed, 0 insertions, 0 deletions