* src/xterm.c (get_current_wm_state): Rename from get_current_vm_state.

(do_ewmh_fullscreen, x_handle_net_wm_state): Update callers.
This commit is contained in:
Stefan Monnier 2010-11-17 10:12:02 -05:00
parent 25f38310f9
commit fad0d56519
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
* 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 <handa@m17n.org>
* coding.c (Fset_terminal_coding_system_internal): Fix previous

View file

@ -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)
{