summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2017-11-28 15:32:26 -0800
committerVito Caputo <vcaputo@pengaru.com>2017-11-28 15:32:26 -0800
commit9d6f429577ec072d3f5212c29760ca70e3c93ce3 (patch)
tree56e8bb6589abe89759d54abd4a7990fe6cb7b35f /src/window.h
parent9bfd0e3319ec99ca6e89b02c060c4305fddbb610 (diff)
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.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h1
1 files changed, 1 insertions, 0 deletions
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 {
© All Rights Reserved