From 3b18571d2c297f828e4374b0608b95ca9697cc55 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 13 Dec 2008 01:21:17 +0000 Subject: [PATCH] (Fx_wm_set_size_hint): Check if the frame is an X frame. --- src/xfns.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xfns.c b/src/xfns.c index 166cca63f2b..5b4d40100c2 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -3112,7 +3112,8 @@ If FRAME is nil, use the selected frame. */) frame = selected_frame; f = XFRAME (frame); BLOCK_INPUT; - x_wm_set_size_hint (f, 0, 0); + if (FRAME_X_P (f)) + x_wm_set_size_hint (f, 0, 0); UNBLOCK_INPUT; return Qnil; } -- 2.39.2