From 0832f74bbbc6cac86740966afb8056ce53e3ca92 Mon Sep 17 00:00:00 2001 From: sabetts Date: Wed, 3 Nov 2004 03:01:12 +0000 Subject: * src/group.c (group_last_window): add argument, the screen to find the window in. All callers updated. (group_prev_window): make sure the matched window is in the same screen as win. (group_next_window): likewise * src/window.c (find_window_other): add argument, the screen to find the window in. All callers updated. --- src/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/events.c') diff --git a/src/events.c b/src/events.c index 8005a26..7e05a7e 100644 --- a/src/events.c +++ b/src/events.c @@ -346,7 +346,7 @@ client_msg (XClientMessageEvent *ev) PRINT_DEBUG (("Iconify Request.\n")); if (win->state == NormalState) { - rp_window *w = find_window_other(); + rp_window *w = find_window_other(win->scr); if (w) set_active_window (w); -- cgit v1.2.3