[metacity] window-props: re-evaluate window visibility when making it transient
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity] window-props: re-evaluate window visibility when making it transient
- Date: Fri, 3 Mar 2017 01:32:28 +0000 (UTC)
commit a46ff6e9252aec507f927989362235368b05adb9
Author: Rui Matos <tiagomatos gmail com>
Date: Wed Jan 6 17:11:19 2016 +0100
window-props: re-evaluate window visibility when making it transient
In case a window is hidden when we're ordered to make it transient to
a different parent we must re-evaluate its visibility status or we'll
get into an inconsistent state where the parent is visible and the
child isn't.
https://bugzilla.gnome.org/show_bug.cgi?id=759297
src/core/window-props.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/window-props.c b/src/core/window-props.c
index 38f8c97..3ff601b 100644
--- a/src/core/window-props.c
+++ b/src/core/window-props.c
@@ -1619,7 +1619,7 @@ reload_transient_for (MetaWindow *window,
meta_window_group_leader_changed (window);
if (!window->constructing && !window->override_redirect)
- meta_window_queue (window, META_QUEUE_MOVE_RESIZE);
+ meta_window_queue (window, META_QUEUE_MOVE_RESIZE | META_QUEUE_CALC_SHOWING);
if (meta_window_appears_focused (window) && window->xtransient_for != None)
meta_window_propagate_focus_appearance (window, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]