changed options default-list
This commit is contained in:
parent
fd46b53447
commit
dcbf6b7bbb
|
@ -78,10 +78,15 @@
|
|||
(type-alist (map (lambda (s)
|
||||
(cons (first s) (second s)))
|
||||
spec))
|
||||
; (default-alist (map (lambda (s)
|
||||
; (let ((op (assq (first s) options)))
|
||||
; (if op op
|
||||
; (cons (first s) (third s)))))
|
||||
; spec)))
|
||||
;; TODO: options from config and the spec should form the
|
||||
;; defaults (but not those from layout).
|
||||
(default-alist (map (lambda (s)
|
||||
(let ((op (assq (first s) options)))
|
||||
(if op op
|
||||
(cons (first s) (third s)))))
|
||||
(cons (first s) (third s)))
|
||||
spec)))
|
||||
(for-each (lambda (name.option name.type)
|
||||
(allocate-option dpy colormap (car name.option)
|
||||
|
|
Loading…
Reference in New Issue