summaryrefslogtreecommitdiff
path: root/src/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/key.c')
-rw-r--r--src/key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/key.c b/src/key.c
index 660c344..99dfd7e 100644
--- a/src/key.c
+++ b/src/key.c
@@ -70,7 +70,7 @@ void vwm_key_released(vwm_t *vwm, Window win, XKeyReleasedEvent *keyrelease)
}
/* make the focused window the most recently used */
- if ((vwin = vwm_win_focused(vwm)))
+ if ((vwin = vwm_win_get_focused(vwm)))
vwm_win_mru(vwm, vwin);
/* make the focused desktop the most recently used */
@@ -112,7 +112,7 @@ void vwm_key_pressed(vwm_t *vwm, Window win, XKeyPressedEvent *keypress)
repeat_cnt = 0;
}
- vwin = vwm_win_focused(vwm);
+ vwin = vwm_win_get_focused(vwm);
switch (sym) {
© All Rights Reserved