diff options
Diffstat (limited to 'src/events.c')
-rw-r--r-- | src/events.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |