mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-11 16:08:13 +00:00
* term/x-win.el: Check the reverseVideo/ReverseVideo resource,
correctly distinguish between "on" and "off" values, and put a parameter in default-frame-alist. * frame.el (frame-initialize): Don't call x-get-resource here.
This commit is contained in:
parent
d4f70b769d
commit
88046be2ad
@ -112,9 +112,7 @@ These supersede the values given in `default-frame-alist'.")
|
||||
(setq tail (cdr tail))))
|
||||
;; Handle `reverse' as a parameter.
|
||||
(if (cdr (or (assq 'reverse initial-frame-alist)
|
||||
(assq 'reverse default-frame-alist)
|
||||
(cons nil
|
||||
(x-get-resource "reverseVideo" "ReverseVideo"))))
|
||||
(assq 'reverse default-frame-alist)))
|
||||
(let ((params (frame-parameters frame-initial-frame)))
|
||||
(modify-frame-parameters
|
||||
frame-initial-frame
|
||||
|
@ -529,6 +529,13 @@ This returns ARGS with the arguments that have been processed removed."
|
||||
(setq initial-frame-alist (append initial-frame-alist
|
||||
(x-parse-geometry res-geometry)))))
|
||||
|
||||
;; Check the reverseVideo resource.
|
||||
(if (assoc
|
||||
(x-get-resource "reverseVideo"
|
||||
"ReverseVideo")
|
||||
'("True" "true" "Yes" "yes"))
|
||||
(setq default-frame-alist (cons '(reverse . t) default-frame-alist)))
|
||||
|
||||
;; Set x-selection-timeout, measured in milliseconds.
|
||||
(let ((res-selection-timeout
|
||||
(x-get-resource "selectionTimeout" "SelectionTimeout")))
|
||||
|
Loading…
Reference in New Issue
Block a user