diff options
author | sabetts <sabetts> | 2000-08-27 22:18:18 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2000-08-27 22:18:18 +0000 |
commit | 10997e1bf2d28d49c5d6c45e5322b93576fa98a6 (patch) | |
tree | 445c16ddfef0bbecab1765ea6721a64576d055e2 | |
parent | b4edb12f736259afb5df4230c1901e695451427e (diff) | |
download | ratpoison-10997e1bf2d28d49c5d6c45e5322b93576fa98a6.zip |
scanwins now checks for override_redirect windows and skips them (we
don't manage these).
-rw-r--r-- | manage.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -162,8 +162,12 @@ scanwins(screen_info *s) XGetWindowAttributes(dpy, wins[i], &attr); if (wins[i] == s->bar_window || wins[i] == s->key_window) continue; - win = add_to_window_list (s, wins[i]); - if (attr.map_state == IsViewable) manage (win, s); + + if (attr.override_redirect != True) + { + win = add_to_window_list (s, wins[i]); + if (attr.map_state != IsUnmapped) manage (win, s); + } } XFree((void *) wins); /* cast is to shut stoopid compiler up */ } |