From: Dana Jansens Date: Tue, 24 Dec 2002 07:49:56 +0000 (+0000) Subject: add iconified windows to the stacking order list! X-Git-Tag: openbox-2_3_0^2~20 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=33018b6e7f13caf5cb4e3d7fb58256c976319bc7;p=dana%2Fopenbox.git add iconified windows to the stacking order list! --- diff --git a/src/Screen.cc b/src/Screen.cc index 1f2c6152..ba21224c 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -1487,6 +1487,16 @@ void BScreen::updateStackingList(void) { if (i != getCurrentWorkspaceID()) getWorkspace(i)->appendStackOrder(stack_order); + /* + Add the icons windows to the list too. When all the windows aren't in the + stacking list, the list is considered unstable, i.e. broken, and apps like + to just freeze up and wait for it to be right. + */ + BlackboxWindowList::iterator icon_it = iconList.begin(), + icon_end = iconList.end(); + for (; icon_it != icon_end; ++icon_it) + stack_order.push_back(*icon_it); + if (stack_order.size() > 0) { // set the client list atoms Window *windows = new Window[stack_order.size()];