]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fx_wm_set_size_hint): Check if the frame is an X frame.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 13 Dec 2008 01:21:17 +0000 (01:21 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 13 Dec 2008 01:21:17 +0000 (01:21 +0000)
src/xfns.c

index 166cca63f2bdc73d67612a4ff35ebbd73307ff1e..5b4d40100c28fbe46d788741ff320581b58c2dbd 100644 (file)
@@ -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;
 }