Skip to content

Commit 3c47d9d

Browse files
JoseExpositocassidyjames
authored andcommitted
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
1 parent 43ce63f commit 3c47d9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/pip/PopupWindow.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ public class Gala.Plugins.PIP.PopupWindow : Clutter.Actor {
9595
move_action.drag_begin.connect (on_move_begin);
9696
move_action.drag_canceled.connect (on_move_end);
9797
move_action.actor_clicked.connect (activate);
98+
add_action (move_action);
9899

99100
container = new Clutter.Actor ();
100101
container.reactive = true;
101102
container.set_scale (0.35f, 0.35f);
102103
container.add_effect (new ShadowEffect (SHADOW_SIZE, 2));
103104
container.add_child (clone);
104-
container.add_action (move_action);
105105

106106
update_size ();
107107
update_container_position ();

0 commit comments

Comments
 (0)