summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 6e83d52..61931c1 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, may return NULL */
-vwm_window_t * vwm_win_get_focused(vwm_t *vwm)
+vwm_window_t * vwm_win_get_focused(const vwm_t *vwm)
{
return vwm->focused_desktop->focused_window;
}
© All Rights Reserved