Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6e42f5f8
Commit
6e42f5f8
authored
May 01, 1994
by
Richard M. Stallman
Browse files
(x-handle-geometry): Specify user-position and
user-size properties when appropriate.
parent
2d2bdb7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
lisp/term/x-win.el
lisp/term/x-win.el
+9
-4
No files found.
lisp/term/x-win.el
View file @
6e42f5f8
...
...
@@ -169,10 +169,15 @@
;; Handle the geometry option
(
defun
x-handle-geometry
(
switch
)
(
setq
initial-frame-alist
(
append
initial-frame-alist
(
x-parse-geometry
(
car
x-invocation-args
)))
x-invocation-args
(
cdr
x-invocation-args
)))
(
let
((
geo
(
x-parse-geometry
(
car
x-invocation-args
))))
(
setq
initial-frame-alist
(
append
initial-frame-alist
(
if
(
or
(
assq
'left
geo
)
(
assq
'top
geo
))
'
((
user-position
.
t
)))
(
if
(
or
(
assq
'height
geo
)
(
assq
'width
geo
))
'
((
user-size
.
t
)))
geo
)
x-invocation-args
(
cdr
x-invocation-args
))))
;; Handle the -name and -rn options. Set the variable x-resource-name
;; to the option's operand; if the switch was `-name', set the name of
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment