diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-10-19 00:12:20 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-10-19 00:12:20 -0700 |
commit | cc977820463d085fa0b611cafdc8003fc8350910 (patch) | |
tree | f1c6e9b9f83828089d1f504faf56dd53bf62c44c /src/window.c | |
parent | eb42707bce381cd7501a246629604fdeb8728445 (diff) |
window: constify vwm_t in vwm_win_get_focused()
There needs to be a bunch of this throughout the codebase, but
just doing this spot fix to silence warnings introduced by
subsequent commits... preparatory commit for rmd integration
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 2 |
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; } |