diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2017-10-05 16:34:56 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2017-10-05 16:34:56 -0700 |
commit | 29fa9c0870eebc152a92da2290e405be6e37fc56 (patch) | |
tree | 8ffcbbb352249a2fcc611b55317f4d622a4f9ef2 /src/window.c | |
parent | 1848f22c6d7dbedaafbb9a0892a7ce6f3eb1b280 (diff) |
*: s/vwm_win_focused/vwm_win_get_focused/
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index aee4210..5827d0b 100644 --- a/src/window.c +++ b/src/window.c @@ -81,7 +81,7 @@ vwm_window_t * vwm_win_lookup(vwm_t *vwm, Window win) /* return the currently focused window (considers current context...), may return NULL */ -vwm_window_t * vwm_win_focused(vwm_t *vwm) +vwm_window_t * vwm_win_get_focused(vwm_t *vwm) { switch (vwm->focused_context) { case VWM_CONTEXT_SHELF: @@ -514,7 +514,7 @@ vwm_window_t * vwm_win_manage_xwin(vwm_t *vwm, vwm_xwindow_t *xwin) } /* put it on the global windows_mru list, if there's a focused window insert the new one after it */ - if (!list_empty(&vwm->windows_mru) && (focused = vwm_win_focused(vwm))) { + if (!list_empty(&vwm->windows_mru) && (focused = vwm_win_get_focused(vwm))) { /* insert the vwin immediately after the focused window, so Mod1+Tab goes to the new window */ list_add(&vwin->windows_mru, &focused->windows_mru); } else { |