]> git.sur5r.net Git - i3/i3/commit
Bugfix: Unmap windows before reparenting them to the root window (fixes Mathematica...
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 28 May 2013 17:52:01 +0000 (19:52 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 28 May 2013 17:52:01 +0000 (19:52 +0200)
commit62ef7834b042409acb99f0a030729c806be69335
treef72c9af5f728b6a87729155692d6bbd4345e67be
parentbdccf26f3955609edf69d9e9e8da1637d8ffcc62
Bugfix: Unmap windows before reparenting them to the root window (fixes Mathematica) (Thanks psychon)

Some apps such as Mathematica send a synthetic UnmapNotify event without
properly unmapping their window first. This change makes sure that
happens and fixes an annoying bug with Mathematica where some unmanaged
windows would stay around, but you couldn’t do anything with them.

Thanks to psychon (current awesome maintainer) for helping with the
diagnosis!

fixes #787
src/tree.c