From 9d6f429577ec072d3f5212c29760ca70e3c93ce3 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 28 Nov 2017 15:32:26 -0800 Subject: window: discover allscreen on configure too Previously only windows fitting the screen dimensions @ assimilate would become automagically "allscreened". Newer mplayer seems to break this heuristic, so expand the application of the heuristic to include configure requests as well. --- src/window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/window.h') diff --git a/src/window.h b/src/window.h index c177b48..c142d89 100644 --- a/src/window.h +++ b/src/window.h @@ -60,6 +60,7 @@ typedef enum _vwm_corner_t { } vwm_corner_t; void vwm_win_autoconf(vwm_t *vwm, vwm_window_t *vwin, vwm_screen_rel_t rel, vwm_win_autoconf_t conf, ...); +void vwm_win_autoconf_magic(vwm_t *vwm, vwm_window_t *vwin, const vwm_screen_t *scr, int x, int y, int width, int height); void vwm_win_focus(vwm_t *vwm, vwm_window_t *vwin); typedef enum _vwm_fence_t { -- cgit v1.2.3