From dbe2879dfe3de746473a2598d773da970098e48c Mon Sep 17 00:00:00 2001 From: rathnor Date: Fri, 27 Dec 2002 02:15:08 +0000 Subject: added iconified windows to the _NET_CLIENT_LIST window in response to pointer to: http://bugzilla.gnome.org/show_bug.cgi?id=99625 --- src/Ewmh.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/Ewmh.cc b/src/Ewmh.cc index eb137ed..d148463 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Ewmh.cc,v 1.7 2002/12/01 13:41:55 rathnor Exp $ +// $Id: Ewmh.cc,v 1.8 2002/12/27 02:15:08 rathnor Exp $ #include "Ewmh.hh" @@ -146,6 +146,14 @@ void Ewmh::updateClientList(const BScreen &screen) { wl[win++] = (*it)->getClientWindow(); } } + + // plus iconified windows + BScreen::Icons::const_iterator it = screen.getIconList().begin(); + BScreen::Icons::const_iterator it_end = screen.getIconList().end(); + for (; it != it_end; ++it) { + wl[win++] = (*it)->getClientWindow(); + } + //number of windows to show in client list num = win; XChangeProperty(BaseDisplay::getXDisplay(), -- cgit v0.11.2