summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2006-11-10 07:53:26 +0000
committerJan Djärv <jan.h.d@swipnet.se>2006-11-10 07:53:26 +0000
commit3d644e946e3afb94a5d2470466ee01ad90d32047 (patch)
treec7780f38f5f133bd9132efca7d9453d186bddc32 /src/term.c
parent9416ae448e61ef1478a7e7e07bdfa25273095811 (diff)
downloademacs-3d644e946e3afb94a5d2470466ee01ad90d32047.tar.gz
Define fullscreen_hook.
(syms_of_term): Initialize fullscreen_hook to NULL.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index 603305c8f17..b39f86c4907 100644
--- a/src/term.c
+++ b/src/term.c
@@ -190,6 +190,11 @@ void (*frame_rehighlight_hook) P_ ((FRAME_PTR f));
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 @@ bigger, or it may make it blink, or it may do nothing at all. */);
defsubr (&Stty_display_color_p);
defsubr (&Stty_display_color_cells);
defsubr (&Stty_no_underline);
+
+ fullscreen_hook = NULL;
}
/* arch-tag: 498e7449-6f2e-45e2-91dd-b7d4ca488193