# HG changeset patch # User Jan Dj¸«£rv # Date 1163145206 0 # Node ID 267a016fb1471599fa633c1e5eade5b8512f3210 # Parent bf62fb0d4b65fb27e3b916fbc5afa9c6ff6b6fd3 Define fullscreen_hook. (syms_of_term): Initialize fullscreen_hook to NULL. diff -r bf62fb0d4b65 -r 267a016fb147 src/term.c --- a/src/term.c Fri Nov 10 07:49:11 2006 +0000 +++ b/src/term.c Fri Nov 10 07:53:26 2006 +0000 @@ -190,6 +190,11 @@ void (*frame_raise_lower_hook) P_ ((FRAME_PTR f, int raise)); +/* If the value of the frame parameter changed, whis hook is called. + For example, if going from fullscreen to not fullscreen this hook + may do something OS dependent, like extended window manager hints on X11. */ +void (*fullscreen_hook) P_ ((struct frame *f)); + /* Set the vertical scroll bar for WINDOW to have its upper left corner at (TOP, LEFT), and be LENGTH rows high. Set its handle to indicate that we are displaying PORTION characters out of a total @@ -2762,6 +2767,8 @@ defsubr (&Stty_display_color_p); defsubr (&Stty_display_color_cells); defsubr (&Stty_no_underline); + + fullscreen_hook = NULL; } /* arch-tag: 498e7449-6f2e-45e2-91dd-b7d4ca488193