summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-06-09 15:24:50 +0000
committerKarl Heuer <kwzh@gnu.org>1995-06-09 15:24:50 +0000
commit438ffabc7a2f3e569f8f4160345797c0b649191a (patch)
tree6c97c690c6e5b8458de24076525edb791dab2f13 /lisp
parentad65be9f4cd3e9b28b5f6c8fd633622806310e67 (diff)
downloademacs-438ffabc7a2f3e569f8f4160345797c0b649191a.tar.gz
(x-create-frame-with-faces): Don't look for geometry
resource if name is nil.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/faces.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index aa14e62b72c..686df68b5e5 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -944,7 +944,7 @@ selected frame."
(cdr (assq 'name default-frame-alist))
(cdr (assq 'name initial-frame-alist))))
(x-resource-name name)
- (res-geometry (x-get-resource "geometry" "Geometry"))
+ (res-geometry (if name (x-get-resource "geometry" "Geometry")))
parsed)
(if res-geometry
(progn