diff options
author | sabetts <sabetts> | 2006-02-26 23:20:07 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-02-26 23:20:07 +0000 |
commit | 50171e15dbe6a51464059ad820f5a0464f3d60fa (patch) | |
tree | bd8909431b6f2884319f8821bac6bf38d7dad1e4 /src/data.h | |
parent | 23b3dd1114f608ffbef9d18b582e28e39fdce7f5 (diff) | |
download | ratpoison-50171e15dbe6a51464059ad820f5a0464f3d60fa.zip |
* src/window.c (add_to_window_list): only change the window's
group and frame if window_mapped is 0.
* src/data.h (struct rp_child_info): new field window_mapped
* src/actions.c (spawn): init window_mapped field in child_info.
Diffstat (limited to 'src/data.h')
-rw-r--r-- | src/data.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -270,6 +270,11 @@ struct rp_child_info rp_frame *frame; rp_screen *screen; + /* Non-zero when the pid has mapped a window. This is to prevent + every window the program opens from getting mapped in the frame + it was launched from. Only the first window should do this. */ + int window_mapped; + /* This structure can exist in a list. */ struct list_head node; }; |