summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorVince Salvino <salvino@coderedcorp.com>2021-10-27 17:32:09 -0400
committerEli Zaretskii <eliz@gnu.org>2021-10-30 12:55:35 +0300
commitc79d8fa4163faf83796446b330225986ce5db275 (patch)
tree809acc5ba440eceac28002d28de5742cfe8ad39d /lisp/emacs-lisp
parentc30f95078c0735447c0bf293f2e6f573bc7057a3 (diff)
downloademacs-c79d8fa4163faf83796446b330225986ce5db275.tar.gz
emacs-c79d8fa4163faf83796446b330225986ce5db275.tar.bz2
emacs-c79d8fa4163faf83796446b330225986ce5db275.zip
Support system dark mode on Windows 10 version 1809 and higher
* src/w32fns.c (DARK_MODE_APP_NAME) (DWMWA_USE_IMMERSIVE_DARK_MODE_OLD) (DWMWA_USE_IMMERSIVE_DARK_MODE): Define. (w32_applytheme): New function. (w32_createvscrollbar, w32_createhscrollbar, w32_createwindow): Call 'w32_applytheme'. (globals_of_w32fns): Load 'DwmSetWindowAttribute' and 'SetWindowTheme' from their DLLs, and initialize 'w32_darkmode'. * src/w32.c (w32_get_resource): Accept an additional argument instead of hard-coding REG_ROOT; callers changed. (Bug#51404) * etc/NEWS: * doc/emacs/msdos.texi (Windows Misc): Document the new feature.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions