aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-07-27 20:17:15 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-07-30 16:27:21 (GMT)
commit58491165d366005e102b0e9ea632dbb54ea8791d (patch)
treeb39d6cb9e0559df6fa8fc1209a283a9f06258a44
parent5e08a23f6ca77586aa8662ed19d2a6282848e10f (diff)
downloadfluxbox-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.cc2
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}