Merge branch 'leolost/full-wayland' of github.com:elementary/gala into leolost/full-wayland

This commit is contained in:
Leonhard 2024-05-24 12:41:49 +02:00
commit 7fa7499f1e

View File

@ -240,7 +240,26 @@ namespace Gala {
return;
}
ShellClientsManager.get_instance ().set_anchor (window, (Meta.Side) anchor);
Meta.Side side = TOP;
switch (anchor) {
case TOP:
side = TOP;
break;
case BOTTOM:
side = BOTTOM;
break;
case LEFT:
side = LEFT;
break;
case RIGHT:
side = RIGHT;
break;
}
ShellClientsManager.get_instance ().set_anchor (window, side);
}
internal static void set_keep_above (Wl.Client client, Wl.Resource resource) {