From fc0a1e5e68121502a02d556e90fe1ceb570e3493 Mon Sep 17 00:00:00 2001 From: sabetts Date: Thu, 20 Apr 2006 02:16:09 +0000 Subject: (property_notify): Only map the first window in the launch frame. --- src/events.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/events.c b/src/events.c index 9ea61a0..2ef2512 100644 --- a/src/events.c +++ b/src/events.c @@ -605,12 +605,14 @@ property_notify (XEvent *ev) PRINT_DEBUG (("updating _NET_WM_PID\n")); child_info = get_child_info(win->w); - if (child_info) + if (child_info && !child_info->window_mapped) { if (child_info->frame) { PRINT_DEBUG (("frame=%p\n", child_info->frame)); win->intended_frame_number = child_info->frame->number; + /* Only map the first window in the launch frame. */ + child_info->window_mapped = 1; } /* TODO: also adopt group information? */ } -- cgit v1.2.3