wayland: Fix drag and drop icons (#1889)

This commit is contained in:
Leonhard 2024-04-03 12:13:42 +02:00 committed by GitHub
parent 87c6a2f873
commit e20989cecc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -208,6 +208,7 @@ namespace Gala {
* +-- pointer locator
* +-- dwell click timer
* +-- screen shield
* +-- feedback group (e.g. DND icons)
*/
system_background = new SystemBackground (display);
@ -233,6 +234,14 @@ namespace Gala {
stage.remove_child (top_window_group);
ui_group.add_child (top_window_group);
#if HAS_MUTTER44
var feedback_group = display.get_compositor ().get_feedback_group ();
#else
var feedback_group = display.get_feedback_group ();
#endif
stage.remove_child (feedback_group);
ui_group.add_child (feedback_group);
FilterManager.init (this);
/*keybindings*/