From: Stefan Monnier Date: Wed, 17 Nov 2010 15:12:02 +0000 (-0500) Subject: * src/xterm.c (get_current_wm_state): Rename from get_current_vm_state. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~211 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fad0d5651923be042a38d89dfbd67c97dfd92a56;p=emacs.git * src/xterm.c (get_current_wm_state): Rename from get_current_vm_state. (do_ewmh_fullscreen, x_handle_net_wm_state): Update callers. --- diff --git a/src/ChangeLog b/src/ChangeLog index b1535b3f659..240155181c4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-11-17 Stefan Monnier + + * xterm.c (get_current_wm_state): Rename from get_current_vm_state. + (do_ewmh_fullscreen, x_handle_net_wm_state): Update callers. + 2010-11-17 Kenichi Handa * coding.c (Fset_terminal_coding_system_internal): Fix previous diff --git a/src/xterm.c b/src/xterm.c index eaa19523970..ed3e5dcae45 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -8403,7 +8403,7 @@ x_set_sticky (struct frame *f, Lisp_Object new_value, Lisp_Object old_value) STICKY is set to 1 if the sticky state is set, 0 if not. */ static void -get_current_vm_state (struct frame *f, +get_current_wm_state (struct frame *f, Window window, int *size_state, int *sticky) @@ -8474,7 +8474,7 @@ do_ewmh_fullscreen (struct frame *f) Lisp_Object lval = get_frame_param (f, Qfullscreen); int cur, dummy; - get_current_vm_state (f, FRAME_OUTER_WINDOW (f), &cur, &dummy); + get_current_wm_state (f, FRAME_OUTER_WINDOW (f), &cur, &dummy); /* Some window managers don't say they support _NET_WM_STATE, but they do say they support _NET_WM_STATE_FULLSCREEN. Try that also. */ @@ -8556,7 +8556,7 @@ x_handle_net_wm_state (struct frame *f, XPropertyEvent *event) Lisp_Object lval; int sticky = 0; - get_current_vm_state (f, event->window, &value, &sticky); + get_current_wm_state (f, event->window, &value, &sticky); lval = Qnil; switch (value) {