1
0
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:
Jim Blandy 1993-07-03 10:17:56 +00:00
parent d4f70b769d
commit 88046be2ad
2 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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")))