summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-01-01 00:49:25 -0800
committerVito Caputo <vcaputo@pengaru.com>2021-01-01 00:49:25 -0800
commit229a84202f3fda6f175e9861208b9fc0b7fb3c34 (patch)
tree400df52071ed44e10856a9029636419bbf71b5b3 /src/window.h
parentd564d06b1ce89e90e1aacc5433b5eabd38270973 (diff)
*: return MRU object from _mru() funcs
minor ergonomic improvement; enables plain wrapping of creates or other relevant object pointers with _mru() calls without requiring an intermediate storage variable.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h
index 00ebc72..eef639e 100644
--- a/src/window.h
+++ b/src/window.h
@@ -41,7 +41,7 @@ typedef struct _vwm_window_t {
void vwm_win_unmap(vwm_t *vwm, vwm_window_t *vwin);
void vwm_win_map(vwm_t *vwm, vwm_window_t *vwin);
-void vwm_win_mru(vwm_t *vwm, vwm_window_t *vwin);
+vwm_window_t * vwm_win_mru(vwm_t *vwm, vwm_window_t *vwin);
vwm_window_t * vwm_win_lookup(vwm_t *vwm, Window win);
vwm_window_t * vwm_win_get_focused(vwm_t *vwm);
void vwm_win_set_focused(vwm_t *vwm, vwm_window_t *vwin);
© All Rights Reserved