File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,6 @@ public class Gala.Plugins.PIP.PopupWindow : Clutter.Actor {
6868
6969 clone = new Clutter .Clone (window_actor);
7070
71- move_action = new DragDropAction (DragDropActionType . SOURCE , " pip" );
72- move_action. drag_begin. connect (on_move_begin);
73- move_action. drag_canceled. connect (on_move_end);
74- move_action. actor_clicked. connect (activate);
75-
7671 clone_container = new Clutter .Actor () {
7772 scale_x = 0.35f ,
7873 scale_y = 0.35f
@@ -84,7 +79,12 @@ public class Gala.Plugins.PIP.PopupWindow : Clutter.Actor {
8479 };
8580 container. add_child (clone_container);
8681 container. add_effect (new ShadowEffect (" window" ));
87- container. add_action (move_action);
82+
83+ move_action = new DragDropAction (DragDropActionType . SOURCE , " pip" );
84+ move_action. drag_begin. connect (on_move_begin);
85+ move_action. drag_canceled. connect (on_move_end);
86+ move_action. actor_clicked. connect (activate);
87+ add_action (move_action);
8888
8989 update_size ();
9090
You can’t perform that action at this time.
0 commit comments