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:
parent
cbde13fc65
commit
2445212e35
@ -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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user