mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
xwayland: Raise the dnd window each time
If the dnd window ends up lower in the overall stack than the window it's supposed to fence, the drop might end up in some other window underneath the expected target window. Maps and raises the dnd window each time it's shown so that it's always placed above. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=779800
This commit is contained in:
parent
f434f88c0c
commit
4b86af839f
@ -1368,7 +1368,7 @@ repick_drop_surface (MetaWaylandCompositor *compositor,
|
||||
if (focus &&
|
||||
focus->window->client_type == META_WINDOW_CLIENT_TYPE_WAYLAND)
|
||||
{
|
||||
XMapWindow (xdisplay, dnd->dnd_window);
|
||||
XMapRaised (xdisplay, dnd->dnd_window);
|
||||
XMoveResizeWindow (xdisplay, dnd->dnd_window,
|
||||
focus->window->rect.x,
|
||||
focus->window->rect.y,
|
||||
|
Loading…
Reference in New Issue
Block a user