summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-02-26 23:20:07 +0000
committersabetts <sabetts>2006-02-26 23:20:07 +0000
commit50171e15dbe6a51464059ad820f5a0464f3d60fa (patch)
treebd8909431b6f2884319f8821bac6bf38d7dad1e4 /src/actions.c
parent23b3dd1114f608ffbef9d18b582e28e39fdce7f5 (diff)
downloadratpoison-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/actions.c')
-rw-r--r--src/actions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c
index 15372be..741b69c 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -2494,6 +2494,7 @@ spawn(char *cmd, int raw)
child->frame = current_frame();
child->group = rp_current_group;
child->screen = current_screen();
+ child->window_mapped = 0;
list_add (&child->node, &rp_children);