Commit 3b18571d authored by Chong Yidong's avatar Chong Yidong
Browse files

(Fx_wm_set_size_hint): Check if the frame is an X frame.

parent 8d5b4964
......@@ -3112,7 +3112,8 @@ If FRAME is nil, use the selected frame. */)
frame = selected_frame;
f = XFRAME (frame);
x_wm_set_size_hint (f, 0, 0);
if (FRAME_X_P (f))
x_wm_set_size_hint (f, 0, 0);
return Qnil;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment