diff options
author | sabetts <sabetts> | 2005-11-05 17:26:07 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2005-11-05 17:26:07 +0000 |
commit | 3d1616741850480028ca2bdeb6d937878e86b679 (patch) | |
tree | b981ca060cec5a114f445af998a6a0448661b46c /src/manage.c | |
parent | fbdf3d4ae819ea9d9342ccc17d6d649495e4e7da (diff) | |
download | ratpoison-3d1616741850480028ca2bdeb6d937878e86b679.zip |
* src/manage.h (unhide_all_windows): new prototype
* src/manage.c (unhide_all_windows): new function.
* src/events.c (handle_signals): unhide windows before switching to a new wm
Diffstat (limited to 'src/manage.c')
-rw-r--r-- | src/manage.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/manage.c b/src/manage.c index 49e5fd1..9076b16 100644 --- a/src/manage.c +++ b/src/manage.c @@ -850,6 +850,16 @@ unhide_window (rp_window *win) set_state (win, NormalState); } +void +unhide_all_windows () +{ + struct list_head *tmp, *iter; + rp_window *win; + + list_for_each_safe_entry (win, iter, tmp, &rp_mapped_window, node) + unhide_window (win); +} + /* same as unhide_window except that it makes sure the window is mapped on the bottom of the window stack. */ void |