Clear window->xtransient_for after emitting the invalid window warning.

2006-08-30  Colin Watson  <cjwatson@ubuntu.com>

	* src/window-props.c (reload_transient_for): Clear
	window->xtransient_for after emitting the invalid window warning.
	#353540
This commit is contained in:
Colin Watson 2006-09-07 23:00:27 +00:00 committed by Elijah Newren
parent bba4df7187
commit 3800dac492
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-08-30 Colin Watson <cjwatson@ubuntu.com>
* src/window-props.c (reload_transient_for): Clear
window->xtransient_for after emitting the invalid window warning.
#353540
2006-09-07 Elijah Newren <newren gmail com> 2006-09-07 Elijah Newren <newren gmail com>
* src/metacity-dialog.c: Patch from Bruno Boaventura de Oliveira * src/metacity-dialog.c: Patch from Bruno Boaventura de Oliveira

View File

@ -1174,10 +1174,10 @@ reload_transient_for (MetaWindow *window,
meta_display_lookup_x_window (window->display, meta_display_lookup_x_window (window->display,
window->xtransient_for) == NULL) window->xtransient_for) == NULL)
{ {
window->xtransient_for = None;
meta_warning (_("Invalid WM_TRANSIENT_FOR window 0x%lx specified " meta_warning (_("Invalid WM_TRANSIENT_FOR window 0x%lx specified "
"for %s.\n"), "for %s.\n"),
window->xtransient_for, window->desc); window->xtransient_for, window->desc);
window->xtransient_for = None;
} }
window->transient_parent_is_root_window = window->transient_parent_is_root_window =