aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2009-05-02 20:16:55 +0000
committerDan Nicolaescu2009-05-02 20:16:55 +0000
commit51520a1a835ed916c9d014957defbd7d71e5236a (patch)
treedf59cd15122907590cdf249ea31df9e10f3b6b31 /src
parent271736fc41fe235dbd9d2e1b3c5971f6ce43a825 (diff)
downloademacs-51520a1a835ed916c9d014957defbd7d71e5236a.tar.gz
emacs-51520a1a835ed916c9d014957defbd7d71e5236a.zip
(x_handle_net_wm_state): Move declaration of lval before
any statements.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xterm.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 83cbb6f6b2d..66ec4f39f4d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12009-05-02 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * xterm.c (x_handle_net_wm_state): Move declaration of lval before
4 any statements.
5
12009-05-02 Andreas Schwab <schwab@linux-m68k.org> 62009-05-02 Andreas Schwab <schwab@linux-m68k.org>
2 7
3 * process.c (read_process_output): Make sure the current buffer is 8 * process.c (read_process_output): Make sure the current buffer is
diff --git a/src/xterm.c b/src/xterm.c
index e5f8a0c17c9..f12250085ee 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8689,6 +8689,7 @@ x_handle_net_wm_state (f, event)
8689 Display *dpy = FRAME_X_DISPLAY (f); 8689 Display *dpy = FRAME_X_DISPLAY (f);
8690 unsigned char *tmp_data = NULL; 8690 unsigned char *tmp_data = NULL;
8691 Atom target_type = XA_ATOM; 8691 Atom target_type = XA_ATOM;
8692 Lisp_Object lval;
8692 8693
8693 BLOCK_INPUT; 8694 BLOCK_INPUT;
8694 x_catch_errors (dpy); 8695 x_catch_errors (dpy);
@@ -8718,7 +8719,7 @@ x_handle_net_wm_state (f, event)
8718 value |= FULLSCREEN_BOTH; 8719 value |= FULLSCREEN_BOTH;
8719 } 8720 }
8720 8721
8721 Lisp_Object lval = Qnil; 8722 lval = Qnil;
8722 switch (value) 8723 switch (value)
8723 { 8724 {
8724 case FULLSCREEN_WIDTH: 8725 case FULLSCREEN_WIDTH: