reverted back to no updateNetizenWindowDel in removeClient
This commit is contained in:
parent
905538affe
commit
7be86791e4
2 changed files with 7 additions and 9 deletions
|
@ -22,7 +22,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: Screen.cc,v 1.216 2003/08/12 00:27:57 fluxgen Exp $
|
||||
// $Id: Screen.cc,v 1.217 2003/08/12 01:03:25 fluxgen Exp $
|
||||
|
||||
|
||||
#include "Screen.hh"
|
||||
|
@ -773,11 +773,8 @@ void BScreen::removeClient(WinClient &client) {
|
|||
Fluxbox::instance()->revertFocus(focused->screen());
|
||||
}
|
||||
|
||||
Workspaces::iterator workspace_it = getWorkspacesList().begin();
|
||||
Workspaces::iterator workspace_it_end = getWorkspacesList().end();
|
||||
for (; workspace_it != workspace_it_end; ++workspace_it) {
|
||||
(*workspace_it)->removeWindow(client);
|
||||
}
|
||||
for_each(getWorkspacesList().begin(), getWorkspacesList().end(),
|
||||
mem_fun(&Workspace::updateClientmenu));
|
||||
|
||||
// remove any grouping this is expecting
|
||||
Groupables::iterator it = m_expecting_groups.begin();
|
||||
|
@ -791,8 +788,7 @@ void BScreen::removeClient(WinClient &client) {
|
|||
}
|
||||
// the client could be on icon menu so we update it
|
||||
updateIconMenu();
|
||||
// finaly send notify signal
|
||||
updateNetizenWindowDel(client.window());
|
||||
|
||||
}
|
||||
|
||||
FluxboxWindow *BScreen::getIcon(unsigned int index) {
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: fluxbox.cc,v 1.182 2003/08/12 00:26:42 fluxgen Exp $
|
||||
// $Id: fluxbox.cc,v 1.183 2003/08/12 01:04:16 fluxgen Exp $
|
||||
|
||||
#include "fluxbox.hh"
|
||||
|
||||
|
@ -1345,6 +1345,8 @@ void Fluxbox::update(FbTk::Subject *changedsub) {
|
|||
BScreen &screen = client.screen();
|
||||
|
||||
screen.removeClient(client);
|
||||
// finaly send notify signal
|
||||
screen.updateNetizenWindowDel(client.window());
|
||||
|
||||
if (m_focused_window == &client)
|
||||
revertFocus(screen);
|
||||
|
|
Loading…
Reference in a new issue