aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorJan Djärv2006-11-17 13:02:53 +0000
committerJan Djärv2006-11-17 13:02:53 +0000
commit118ddbddd2afa4079ec6750e608f7d943f42db30 (patch)
treed620ef21ffb308fe5bda3d819a5ed39d3c23864f /src/xterm.c
parent347d9bbe01304b571d497eb60b5891044b428798 (diff)
downloademacs-118ddbddd2afa4079ec6750e608f7d943f42db30.tar.gz
emacs-118ddbddd2afa4079ec6750e608f7d943f42db30.zip
Declare variable before XSETFRAME to avoid gcc 2.96 error.
Tetsurou Okazaki <okazaki@be.to> (tiny change)
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 7d86168f01f..a266282c6ac 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8333,13 +8333,14 @@ do_ewmh_fullscreen (f)
8333 if (have_net_atom) 8333 if (have_net_atom)
8334 { 8334 {
8335 Lisp_Object frame; 8335 Lisp_Object frame;
8336 XSETFRAME (frame, f);
8337 const char *atom = "_NET_WM_STATE"; 8336 const char *atom = "_NET_WM_STATE";
8338 const char *fs = "_NET_WM_STATE_FULLSCREEN"; 8337 const char *fs = "_NET_WM_STATE_FULLSCREEN";
8339 const char *fw = "_NET_WM_STATE_MAXIMIZED_HORZ"; 8338 const char *fw = "_NET_WM_STATE_MAXIMIZED_HORZ";
8340 const char *fh = "_NET_WM_STATE_MAXIMIZED_VERT"; 8339 const char *fh = "_NET_WM_STATE_MAXIMIZED_VERT";
8341 const char *what = NULL; 8340 const char *what = NULL;
8342 8341
8342 XSETFRAME (frame, f);
8343
8343 /* If there are _NET_ atoms we assume we have extended window manager 8344 /* If there are _NET_ atoms we assume we have extended window manager
8344 hints. */ 8345 hints. */
8345 switch (f->want_fullscreen) 8346 switch (f->want_fullscreen)