Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73fef0d6 authored by Arthur Hung's avatar Arthur Hung
Browse files

Fix drag and drop and resize freeform window broken on secondary display

Set the input surface's parent to the display overlay so it could set
the corresponding layer stack.

Test: enabled simulate display and freeform, move or resize the window,
Test: drag and drop content on second display
Bug: 234405646
Change-Id: I6720a077dededc13d674ba1f80ce9b6b5169f613
parent d59d17d7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -165,6 +165,7 @@ class DragState {
                    .setContainerLayer()
                    .setName("Drag and Drop Input Consumer")
                    .setCallsite("DragState.showInputSurface")
                    .setParent(mDisplayContent.getOverlayLayer())
                    .build();
        }
        final InputWindowHandle h = getInputWindowHandle();
+1 −0
Original line number Diff line number Diff line
@@ -73,6 +73,7 @@ class TaskPositioningController {
                    .setContainerLayer()
                    .setName("Drag and Drop Input Consumer")
                    .setCallsite("TaskPositioningController.showInputSurface")
                    .setParent(dc.getOverlayLayer())
                    .build();
        }