]> git.sur5r.net Git - i3/i3/commit
Reframe swallowed windows if depth doesn't match 3301/head
authorDan Elkouby <streetwalkermc@gmail.com>
Fri, 1 Jun 2018 15:55:35 +0000 (18:55 +0300)
committerDan Elkouby <streetwalkermc@gmail.com>
Sat, 2 Jun 2018 11:32:47 +0000 (14:32 +0300)
commit7ac37d8ae463d749c9f5aeb9428ed3523a5a53fb
treeb03387f84fbe972fbe19210fddec10a4872cdebd
parent26f50898fd72c22a27e5b12db83808161bc3d9cd
Reframe swallowed windows if depth doesn't match

X will not allow a window with ParentRelative background to be created
or reparented under a window with mismatching color depth.
Deal with this by destroying the container frame and creating a new one
with the right depth upon swallowing.
Defer destruction of the frame window until after the updated tree has
been rendered to avoid some distracting flickering.

Fixes #3297
include/x.h
src/manage.c
src/x.c