mirror of
https://github.com/elementary/gala.git
synced 2024-12-26 18:53:22 +03:00
Add dummy overrides for show_window_menu/_for_rect
Those needs to be implemented for proper mutter 3.13+ support
This commit is contained in:
parent
920f4274d8
commit
4880224d61
@ -516,6 +516,26 @@ namespace Gala
|
||||
}
|
||||
}
|
||||
|
||||
#if HAS_MUTTER314
|
||||
public override void show_window_menu (Meta.Window window, Meta.WindowMenuType menu, int x, int y)
|
||||
{
|
||||
//TODO implement window/app menus, their implementation where removed with mutter 3.13+
|
||||
switch (menu) {
|
||||
case WindowMenuType.WM:
|
||||
message ("TODO: show window menu for %s at %ix%i\n", window.get_description (), x, y);
|
||||
break;
|
||||
case WindowMenuType.APP:
|
||||
message ("TODO: show app menu for %s at %ix%i\n", window.get_description (), x, y);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public override void show_window_menu_for_rect (Meta.Window window, Meta.WindowMenuType menu, Meta.Rectangle rect)
|
||||
{
|
||||
show_window_menu (window, menu, rect.x, rect.y);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* effects
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user