mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
compositor: Do not repick after effects finish
This was a temporary fix until there was a better crossing event delivery mechanism that accounted for actor changes beneath the pointer. We nowadays have that, and don't seem to need this extra kick to get crossing events triggered (and cursor changes, etc) when windows appear or disappear under the pointer. This commit is effectively a revert of commit a64dba4d7aadadbab6abe1f09aac4611848842d4. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6808 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3104>
This commit is contained in:
parent
5953e1a24a
commit
281d896f6a
@ -685,11 +685,6 @@ meta_window_actor_after_effects (MetaWindowActor *self)
|
||||
{
|
||||
MetaWindowActorPrivate *priv =
|
||||
meta_window_actor_get_instance_private (self);
|
||||
ClutterStage *stage;
|
||||
ClutterSeat *seat;
|
||||
|
||||
stage = CLUTTER_STAGE (clutter_actor_get_stage (CLUTTER_ACTOR (self)));
|
||||
seat = clutter_backend_get_default_seat (clutter_get_default_backend ());
|
||||
|
||||
if (priv->needs_destroy)
|
||||
{
|
||||
@ -701,8 +696,6 @@ meta_window_actor_after_effects (MetaWindowActor *self)
|
||||
meta_window_actor_sync_visibility (self);
|
||||
meta_window_actor_sync_actor_geometry (self, FALSE);
|
||||
}
|
||||
|
||||
clutter_stage_repick_device (stage, clutter_seat_get_pointer (seat));
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user