Mercurial > emacs
comparison src/xfns.c @ 21846:486ac68ce051
Fix -Wimplicit warnings.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Wed, 29 Apr 1998 09:49:44 +0000 |
parents | 6aaa0268fe91 |
children | aac588a2998a |
comparison
equal
deleted
inserted
replaced
21845:1bae35c78db2 | 21846:486ac68ce051 |
---|---|
711 }; | 711 }; |
712 | 712 |
713 /* Attach the `x-frame-parameter' properties to | 713 /* Attach the `x-frame-parameter' properties to |
714 the Lisp symbol names of parameters relevant to X. */ | 714 the Lisp symbol names of parameters relevant to X. */ |
715 | 715 |
716 void | |
716 init_x_parm_symbols () | 717 init_x_parm_symbols () |
717 { | 718 { |
718 int i; | 719 int i; |
719 | 720 |
720 for (i = 0; i < sizeof (x_frame_parms) / sizeof (x_frame_parms[0]); i++) | 721 for (i = 0; i < sizeof (x_frame_parms) / sizeof (x_frame_parms[0]); i++) |
1618 | 1619 |
1619 XFlush (FRAME_X_DISPLAY (f)); | 1620 XFlush (FRAME_X_DISPLAY (f)); |
1620 UNBLOCK_INPUT; | 1621 UNBLOCK_INPUT; |
1621 } | 1622 } |
1622 | 1623 |
1623 extern Lisp_Object x_new_font (); | |
1624 extern Lisp_Object x_new_fontset (); | |
1625 extern Lisp_Object Fquery_fontset (); | |
1626 | |
1627 void | 1624 void |
1628 x_set_font (f, arg, oldval) | 1625 x_set_font (f, arg, oldval) |
1629 struct frame *f; | 1626 struct frame *f; |
1630 Lisp_Object arg, oldval; | 1627 Lisp_Object arg, oldval; |
1631 { | 1628 { |
2946 | 2943 |
2947 #else /* not USE_X_TOOLKIT */ | 2944 #else /* not USE_X_TOOLKIT */ |
2948 | 2945 |
2949 /* Create and set up the X window for frame F. */ | 2946 /* Create and set up the X window for frame F. */ |
2950 | 2947 |
2948 void | |
2951 x_window (f) | 2949 x_window (f) |
2952 struct frame *f; | 2950 struct frame *f; |
2953 | 2951 |
2954 { | 2952 { |
2955 XClassHint class_hints; | 2953 XClassHint class_hints; |
5218 BLOCK_INPUT; | 5216 BLOCK_INPUT; |
5219 XSync (FRAME_X_DISPLAY (f), False); | 5217 XSync (FRAME_X_DISPLAY (f), False); |
5220 UNBLOCK_INPUT; | 5218 UNBLOCK_INPUT; |
5221 } | 5219 } |
5222 | 5220 |
5221 void | |
5223 syms_of_xfns () | 5222 syms_of_xfns () |
5224 { | 5223 { |
5225 /* This is zero if not using X windows. */ | 5224 /* This is zero if not using X windows. */ |
5226 x_in_use = 0; | 5225 x_in_use = 0; |
5227 | 5226 |