[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/exwm 0e365a0058 1/2: Use color-values instead of x-colo
From: |
ELPA Syncer |
Subject: |
[elpa] externals/exwm 0e365a0058 1/2: Use color-values instead of x-color-values |
Date: |
Wed, 24 Jan 2024 00:57:55 -0500 (EST) |
branch: externals/exwm
commit 0e365a00587b961b83de54206a5dc058adadfddf
Author: Steven Allen <steven@stebalien.com>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Use color-values instead of x-color-values
* exwm-core.el (exwm--color->pixel): Use `color-values` (introduced in
Emacs 21) instead of `x-color-values` (deprecated in Emacs 30).
---
exwm-core.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exwm-core.el b/exwm-core.el
index d159592fc5..e0d644d941 100644
--- a/exwm-core.el
+++ b/exwm-core.el
@@ -206,7 +206,7 @@ If FRAME is null, use selected frame."
"Convert COLOR to PIXEL (index in TrueColor colormap)."
(when (and color
(eq (x-display-visual-class) 'true-color))
- (let ((rgb (x-color-values color)))
+ (let ((rgb (color-values color)))
(logior (ash (ash (pop rgb) -8) 16)
(ash (ash (pop rgb) -8) 8)
(ash (pop rgb) -8)))))