mirror of
https://github.com/elementary/gala.git
synced 2024-10-26 16:01:57 +03:00
Merge branch 'leolost/full-wayland' of github.com:elementary/gala into leolost/full-wayland
This commit is contained in:
commit
7fa7499f1e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user