<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] Focused window under application first window"
href="https://bugzilla.gnome.org/show_bug.cgi?id=780820#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Wayland] Focused window under application first window"
href="https://bugzilla.gnome.org/show_bug.cgi?id=780820">bug 780820</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
<pre>MUTTER_VERBOSE stack ops at the time the new sub-sub-window is mapped and the
sub-window unmapped:
STACK: Adding window W3 to the stack
STACK: Window W3 has stack_position initialized to 2
STACK: Syncing window stack to server
STACK: Adding 1 windows to sorted list
STACK: Recomputing layers
STACK: Window W3 on layer 2 type = 0 has_focus = 0
STACK: Window W3 moved from layer 8 to 2
STACK: Window W2 (sub-window) on layer 2 type = 0 has_focus = 1
STACK: Window W1 (main windo) on layer 2 type = 0 has_focus = 0
STACK: Reapplying constraints
STACK: Sorting stack list
STACK: Bottom to top: 2:0 - W1 (main windo) 2:1 - W2 (sub-window) 2:2 - W3
STACK: Restacking 3 windows
STACK: Syncing window stack to server
STACK: Reapplying constraints
STACK: Bottom to top: 2:0 - W1 (main windo) 2:1 - W2 (sub-window) 2:2 - W3
STACK: Restacking 3 windows
VERBOSE: Unmanaging W2 (sub-window)
FOCUS: Focusing default window since we're unmanaging W2 (sub-window)
FOCUS: Focusing MRU window
FOCUS: Focusing workspace MRU window W1 (main windo)
FOCUS: Setting input focus to window W1 (main windo), input: 1 take_focus: 0
FOCUS: W2 (sub-window) is now the previous focus window due to being focused
out or unmapped
VERBOSE: Grabbing unfocused window buttons for W2 (sub-window)
FOCUS: * Focus --> W1 (main windo) with serial 492
VERBOSE: Ungrabbing unfocused window buttons for W1 (main windo)
VERBOSE: Grabbing window buttons for 0x0
WINDOW_OPS: Raising window W1 (main windo), ancestor of W1 (main windo)
STACK: Window W1 (main windo) had stack_position set to 2
STACK: Syncing window stack to server
STACK: Reapplying constraints
STACK: Sorting stack list
STACK: Bottom to top: 2:1 - W3 (sub-sub-wi) 2:2 - W1 (main windo)
=> Looks like W1 gets re-focused once W2 is unmapped (next in the MRU list) and
therefore raised above the newly mapped window W3</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>