diff options
author | sabetts <sabetts> | 2006-04-20 02:16:09 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-04-20 02:16:09 +0000 |
commit | fc0a1e5e68121502a02d556e90fe1ceb570e3493 (patch) | |
tree | fa076b1676d69f678dd0c6d79f30ff574446cf0f | |
parent | b7bb91712d275065bb4b2440fd0867d9299da94c (diff) | |
download | ratpoison-fc0a1e5e68121502a02d556e90fe1ceb570e3493.zip |
(property_notify): Only map the first window in the launch frame.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/events.c | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2006-04-19 Shawn Betts <sabetts@vcn.bc.ca> + * src/events.c (property_notify): Only map the first window in the launch frame. + * src/split.c (show_frame_message): use XmbDrawString and XmbTextEscapement * src/screen.c (init_screen): don't include the font in the gc 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? */ } |