This commit is contained in:
Leonhard Kargl 2024-05-24 12:18:33 +02:00
parent a5027e1880
commit 73afb5b342
2 changed files with 20 additions and 2 deletions

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) {

View File

@ -2001,7 +2001,6 @@ namespace Gala {
actor.set_easing_duration (300);
actor.opacity = 0;
actor.restore_easing_state ();
}
continue;
}