diff src/xfns.c @ 100382:9608fb92d17d

(Fx_wm_set_size_hint): Check if the frame is an X frame.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 13 Dec 2008 01:21:17 +0000
parents 04ea320c6c8c
children 389db2f016a4
line wrap: on
line diff
--- a/src/xfns.c	Sat Dec 13 01:20:43 2008 +0000
+++ b/src/xfns.c	Sat Dec 13 01:21:17 2008 +0000
@@ -3112,7 +3112,8 @@
     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;
 }