summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index b3e32c1..d1441f3 100644
--- a/src/window.c
+++ b/src/window.c
@@ -58,9 +58,11 @@ void vwm_win_map(vwm_t *vwm, vwm_window_t *vwin)
/* make the specified window the most recently used one */
-void vwm_win_mru(vwm_t *vwm, vwm_window_t *vwin)
+vwm_window_t * vwm_win_mru(vwm_t *vwm, vwm_window_t *vwin)
{
list_move(&vwin->windows_mru, &vwm->windows_mru);
+
+ return vwin;
}
© All Rights Reserved