aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2008-11-03 17:56:55 +0000
committerChong Yidong2008-11-03 17:56:55 +0000
commit1c44e124389fcf3d9e7ce942ff748f8981e0d569 (patch)
tree0a6030a5f3fe2dd5ea20c22ad7d8d2946a7088f5 /src
parent870f5cac95cde3a99643a69fb7d268f423960e6e (diff)
downloademacs-1c44e124389fcf3d9e7ce942ff748f8981e0d569.tar.gz
emacs-1c44e124389fcf3d9e7ce942ff748f8981e0d569.zip
(Fx_wm_set_size_hint): New function.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index f5e40143923..17cbed27898 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -3100,6 +3100,22 @@ x_default_font_parameter (f, parms)
3100} 3100}
3101 3101
3102 3102
3103DEFUN ("x-wm-set-size-hint", Fx_wm_set_size_hint, Sx_wm_set_size_hint,
3104 0, 1, 0,
3105 doc: /* Send the size hints for frame FRAME to the window manager.
3106If FRAME is nil, use the selected frame. */)
3107 (frame)
3108 Lisp_Object frame;
3109{
3110 struct frame *f;
3111 if (NILP (frame))
3112 frame = selected_frame;
3113 f = XFRAME (frame);
3114 BLOCK_INPUT;
3115 x_wm_set_size_hint (f, 0, 0);
3116 UNBLOCK_INPUT;
3117}
3118
3103DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame, 3119DEFUN ("x-create-frame", Fx_create_frame, Sx_create_frame,
3104 1, 1, 0, 3120 1, 1, 0,
3105 doc: /* Make a new X window, which is called a "frame" in Emacs terms. 3121 doc: /* Make a new X window, which is called a "frame" in Emacs terms.
@@ -5944,6 +5960,7 @@ the tool bar buttons. */);
5944 defsubr (&Sx_display_visual_class); 5960 defsubr (&Sx_display_visual_class);
5945 defsubr (&Sx_display_backing_store); 5961 defsubr (&Sx_display_backing_store);
5946 defsubr (&Sx_display_save_under); 5962 defsubr (&Sx_display_save_under);
5963 defsubr (&Sx_wm_set_size_hint);
5947 defsubr (&Sx_create_frame); 5964 defsubr (&Sx_create_frame);
5948 defsubr (&Sx_open_connection); 5965 defsubr (&Sx_open_connection);
5949 defsubr (&Sx_close_connection); 5966 defsubr (&Sx_close_connection);