Skip to content

Commit 3f61d3e

Browse files
authored
Put X11 DND windows in feedback group (#2594)
Fixes elementary/dock#479
1 parent 26ec725 commit 3f61d3e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/WindowManager.vala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,11 @@ namespace Gala {
10111011
if (NotificationStack.is_notification (window)) {
10121012
notification_stack.show_notification (actor);
10131013
}
1014+
1015+
// Workaround for X11 bug: https://github.com/elementary/dock/issues/479
1016+
if (!Meta.Util.is_wayland_compositor () && window.window_type == DND) {
1017+
InternalUtils.clutter_actor_reparent (actor, get_display ().get_compositor ().get_feedback_group ());
1018+
}
10141019
}
10151020

10161021
/*

0 commit comments

Comments
 (0)