From: Andy Spencer Date: Sun, 2 Sep 2012 03:07:54 +0000 (+0000) Subject: Fix fullscreen for flash videos X-Git-Url: http://pileus.org/git/?p=wmpus;a=commitdiff_plain;h=f60b536a9e1a340028130fda58b3d298ad5abc6d Fix fullscreen for flash videos This fixes fullscreen on create for some windows --- diff --git a/sys-x11.c b/sys-x11.c index 1e35845..95672d0 100644 --- a/sys-x11.c +++ b/sys-x11.c @@ -593,6 +593,13 @@ void sys_show(win_t *win, state_t state) } XSetWindowBorderWidth(win->sys->dpy, win->sys->xid, 0); XMapWindow(win->sys->dpy, win->sys->xid); + XConfigureWindow(win->sys->dpy, win->sys->xid, + CWX|CWY|CWWidth|CWHeight, &(XWindowChanges) { + .x = win->x, + .y = win->y, + .width = win->w, + .height = win->h, + }); XMoveResizeWindow(win->sys->dpy, win->sys->xid, screen->x - screen->sys->strut.left, screen->y - screen->sys->strut.top,