summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2024-06-15 18:58:02 -0700
committerVito Caputo <vcaputo@pengaru.com>2024-10-27 15:40:40 -0700
commit7c9bd4ba525fc8bf25a7c8caf06cc6d6e7eaddf5 (patch)
tree48ba93bcdd3c4a1ab5a5d5785d8618c03af00bd6 /src/window.c
parentbc29b5fe35e5b9fae05b0ff78fb76d0e0f8e74cd (diff)
screen: support xwin next/prev screen_relsmoremoolti
This is an attempt to minimally support autoconfing windows to different screens on multihead setups.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 2 insertions, 0 deletions
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;
}
© All Rights Reserved