messageList: Drop sync_pointer() after relayouts

We should trust the Clutter machinery here, as it has code to trigger
focus changes triggered by relayouts.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1556>
This commit is contained in:
Carlos Garnacho 2020-12-18 13:25:47 +01:00 committed by Marge Bot
parent cbde13fc65
commit 2445212e35

View File

@ -677,12 +677,10 @@ var MessageListSection = GObject.registerClass({
mode: Clutter.AnimationMode.EASE_OUT_QUAD, mode: Clutter.AnimationMode.EASE_OUT_QUAD,
onComplete: () => { onComplete: () => {
listItem.destroy(); listItem.destroy();
global.sync_pointer();
}, },
}); });
} else { } else {
listItem.destroy(); listItem.destroy();
global.sync_pointer();
} }
} }