diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-07-27 20:17:15 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-07-30 16:27:21 (GMT) |
commit | 58491165d366005e102b0e9ea632dbb54ea8791d (patch) | |
tree | b39d6cb9e0559df6fa8fc1209a283a9f06258a44 | |
parent | 5e08a23f6ca77586aa8662ed19d2a6282848e10f (diff) | |
download | fluxbox-58491165d366005e102b0e9ea632dbb54ea8791d.zip fluxbox-58491165d366005e102b0e9ea632dbb54ea8791d.tar.bz2 |
hide window before restoring the client on unmaps
otherwise compositors will update the texture and operate on (fade) the
frame instead of the client.
Didn't test why this only happens on ARGBs, but could be the colormap
installation.
BUG: 1110
-rw-r--r-- | src/Window.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc index 4e2aed1..b2c87b9 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -2111,6 +2111,8 @@ void FluxboxWindow::unmapNotifyEvent(XUnmapEvent &ue) { | |||
2111 | fbdbg<<"("<<__FUNCTION__<<"): 0x"<<hex<<client->window()<<dec<<endl; | 2111 | fbdbg<<"("<<__FUNCTION__<<"): 0x"<<hex<<client->window()<<dec<<endl; |
2112 | fbdbg<<"("<<__FUNCTION__<<"): title="<<client->title().logical()<<endl; | 2112 | fbdbg<<"("<<__FUNCTION__<<"): title="<<client->title().logical()<<endl; |
2113 | 2113 | ||
2114 | if (numClients() == 1) // unmapping the last client | ||
2115 | frame().hide(); // hide this now, otherwise compositors will fade out the frame, bug #1110 | ||
2114 | restore(client, false); | 2116 | restore(client, false); |
2115 | 2117 | ||
2116 | } | 2118 | } |