diff options
author | Mathieu OTHACEHE <m.othacehe@gmail.com> | 2016-12-07 10:03:52 +0100 |
---|---|---|
committer | Jérémie Courrèges-Anglas <jca@wxcvbn.org> | 2016-12-08 17:40:34 +0100 |
commit | 94fcf440050defa49d9f726302a62d327d377e84 (patch) | |
tree | b138b1ca0514c9272f6dd71ba6708fd0878c6cd3 /src/manage.c | |
parent | 4d12ba27413510a4d0128cb20e47aaa173fa266a (diff) | |
download | ratpoison-94fcf440050defa49d9f726302a62d327d377e84.zip |
Remove useless argument from is_rp_window_for_screen function
The screen argument is useless as this function operates on all
screens. To find if a window belong to a specific ratpoison screen,
function is_rp_window_for_given_screen may be used.
Diffstat (limited to 'src/manage.c')
-rw-r--r-- | src/manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manage.c b/src/manage.c index 2faab71..8b62a30 100644 --- a/src/manage.c +++ b/src/manage.c @@ -460,7 +460,7 @@ scanwins(rp_screen *s) for (i = 0; i < nwins; i++) { XGetWindowAttributes(dpy, wins[i], &attr); - if (is_rp_window_for_screen(wins[i], s) + if (is_rp_window_for_screen(wins[i]) || attr.override_redirect == True || unmanaged_window (wins[i])) continue; |