aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-12-13 01:21:17 +0000
committerChong Yidong2008-12-13 01:21:17 +0000
commit3b18571d2c297f828e4374b0608b95ca9697cc55 (patch)
tree9c4b7f3d7ac6442b9436d834333dc11e44e9d60e /src
parent8d5b49647012d2c6bcedf582be6c835d537f1716 (diff)
downloademacs-3b18571d2c297f828e4374b0608b95ca9697cc55.tar.gz
emacs-3b18571d2c297f828e4374b0608b95ca9697cc55.zip
(Fx_wm_set_size_hint): Check if the frame is an X frame.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c3
1 files changed, 2 insertions, 1 deletions
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. */)
3112 frame = selected_frame; 3112 frame = selected_frame;
3113 f = XFRAME (frame); 3113 f = XFRAME (frame);
3114 BLOCK_INPUT; 3114 BLOCK_INPUT;
3115 x_wm_set_size_hint (f, 0, 0); 3115 if (FRAME_X_P (f))
3116 x_wm_set_size_hint (f, 0, 0);
3116 UNBLOCK_INPUT; 3117 UNBLOCK_INPUT;
3117 return Qnil; 3118 return Qnil;
3118} 3119}