diff options
author | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-03-10 02:53:38 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2017-03-10 02:53:38 +0100 |
commit | 5ef23c23b337012e12189f31b091be3eab970657 (patch) | |
tree | 5370e80f54872b6afe1da116ce44a6b0cc6ed6ab | |
parent | 88938c9e4deeef2ccbc0b1d5eece140f05930afa (diff) | |
download | ratpoison-5ef23c23b337012e12189f31b091be3eab970657.zip |
At init time, add unmapped windows to the default (first) screen.
Kills an error message and fixes a "regression" in my setup.
Previously, if xinerama was not active (disabled or screen count == 1),
out-of-screen windows were added to screen 0 and were considered
"managed".
-rw-r--r-- | src/manage.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/manage.c b/src/manage.c index db77035..91f046b 100644 --- a/src/manage.c +++ b/src/manage.c @@ -467,10 +467,7 @@ scanwins (void) screen = find_screen_by_attr (attr); if (!screen) - { - PRINT_ERROR (("Unable to find a screen by window attributes\n")); - continue; - } + list_first (screen, &rp_screens, node); win = add_to_window_list (screen, wins[i]); |