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
This commit is contained in:
parent
5e08a23f6c
commit
58491165d3
1 changed files with 2 additions and 0 deletions
|
@ -2111,6 +2111,8 @@ void FluxboxWindow::unmapNotifyEvent(XUnmapEvent &ue) {
|
|||
fbdbg<<"("<<__FUNCTION__<<"): 0x"<<hex<<client->window()<<dec<<endl;
|
||||
fbdbg<<"("<<__FUNCTION__<<"): title="<<client->title().logical()<<endl;
|
||||
|
||||
if (numClients() == 1) // unmapping the last client
|
||||
frame().hide(); // hide this now, otherwise compositors will fade out the frame, bug #1110
|
||||
restore(client, false);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue