aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 3da853ede8a..1381fee57ee 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5054,7 +5054,7 @@ frame_geometry (Lisp_Object frame, Lisp_Object attribute)
5054 int menu_bar_height = 0, menu_bar_width = 0; 5054 int menu_bar_height = 0, menu_bar_width = 0;
5055 int tool_bar_height = 0, tool_bar_width = 0; 5055 int tool_bar_height = 0, tool_bar_width = 0;
5056 5056
5057 if (FRAME_INITIAL_P (f) || !FRAME_X_P (f)) 5057 if (FRAME_INITIAL_P (f) || !FRAME_X_P (f) || !FRAME_OUTER_WINDOW (f))
5058 return Qnil; 5058 return Qnil;
5059 5059
5060 block_input (); 5060 block_input ();