]> git.eshelyaron.com Git - emacs.git/commit
Implement support for 'wallpaper-set' on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Thu, 15 Sep 2022 11:51:31 +0000 (14:51 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 15 Sep 2022 11:51:31 +0000 (14:51 +0300)
commit09e93c4dafc6ffa3e556429757348adfa49a5a83
treee96066ed573a0159137371b28059c08cb1157462
parent6d61d6018c00fd952937966a8cadfd1e7c102efa
Implement support for 'wallpaper-set' on MS-Windows

* src/w32fns.c (Fw32_set_wallpaper): New primitive.
(syms_of_w32fns): Defsubr it.
(globals_of_w32fns): Attempt to load SystemParametersInfoW from
its DLL at run time.

* lisp/image/wallpaper.el (wallpaper-set): Support MS-Windows by
calling 'w32-set-wallpaper'.

* etc/NEWS: Update and simplify wording of the 'wallpaper-set'
entry.
etc/NEWS
lisp/image/wallpaper.el
src/w32fns.c