pip: Hide close and resize badges after dragging

DragDropAction changes the "reactive" property of the actors it handles.

Add the DragDropAction to the PiP window so it keeps being reactive.

Fix #1035
This commit is contained in:
José Expósito 2021-07-09 08:57:01 +02:00 committed by Cassidy James Blaede
parent 43ce63fb53
commit 3c47d9dc54

View File

@ -95,13 +95,13 @@ public class Gala.Plugins.PIP.PopupWindow : Clutter.Actor {
move_action.drag_begin.connect (on_move_begin);
move_action.drag_canceled.connect (on_move_end);
move_action.actor_clicked.connect (activate);
add_action (move_action);
container = new Clutter.Actor ();
container.reactive = true;
container.set_scale (0.35f, 0.35f);
container.add_effect (new ShadowEffect (SHADOW_SIZE, 2));
container.add_child (clone);
container.add_action (move_action);
update_size ();
update_container_position ();