From 128f297b83efeff22394cd18069603112ce0938e Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 15 Jun 2024 18:58:02 -0700 Subject: screen: support xwin next/prev screen_rels This is an attempt to minimally support autoconfing windows to different screens on multihead setups. --- src/window.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/window.c') diff --git a/src/window.c b/src/window.c index b850ec9..9cf9b0a 100644 --- a/src/window.c +++ b/src/window.c @@ -162,6 +162,7 @@ void vwm_win_autoconf(vwm_t *vwm, vwm_window_t *vwin, vwm_screen_rel_t rel, vwm_ changes.y = scr->y_org + scr->height / 2; break; } + vwin->autoconfigured_param = corner; break; } @@ -196,6 +197,7 @@ void vwm_win_autoconf(vwm_t *vwm, vwm_window_t *vwin, vwm_screen_rel_t rel, vwm_ changes.y = scr->y_org; break; } + vwin->autoconfigured_param = side; break; } -- cgit v1.2.3