[Pkg-wmaker-commits] [wmaker] 13/21: wmaker: fixed infinite loop in switching within group
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Fri Jan 8 01:40:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch next
in repository wmaker.
commit 88393f4a6c335c2ec8e6ecd8c18d2e553bc3fb5f
Author: Satya Mishra <qufgmx at gmail.com>
Date: Fri Sep 25 15:22:00 2015 -0700
wmaker: fixed infinite loop in switching within group
---
src/switchpanel.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/switchpanel.c b/src/switchpanel.c
index b3832f1..51e6a6f 100644
--- a/src/switchpanel.c
+++ b/src/switchpanel.c
@@ -366,8 +366,10 @@ static WMArray *makeWindowListArray(WScreen *scr, int include_unmapped, Bool cla
if ((canReceiveFocus(wwin) != 0) &&
(wwin->flags.mapped || wwin->flags.shaded || include_unmapped)) {
if (class_only)
- if (!sameWindowClass(scr->focused_window, wwin))
+ if (!sameWindowClass(scr->focused_window, wwin)) {
+ wwin = wwin->prev;
continue;
+ }
if (!WFLAGP(wwin, skip_switchpanel))
WMAddToArray(windows, wwin);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmaker.git
More information about the Pkg-wmaker-commits
mailing list