mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Merge pull request #36 from nongio/wayland-menu-api-change
wayland backend: libs-gui api change _menu
This commit is contained in:
commit
cb3a8d1501
1 changed files with 2 additions and 2 deletions
|
@ -912,7 +912,7 @@ WaylandServer (SurfaceRoles)
|
|||
NSDebugLog(@"makeSubmenu can't find nswin");
|
||||
return NULL;
|
||||
}
|
||||
NSMenu *menu = [nswin menu];
|
||||
NSMenu *menu = [nswin _menu];
|
||||
if (!menu)
|
||||
{
|
||||
NSDebugLog(@"makeSubmenu can't find menu");
|
||||
|
@ -962,7 +962,7 @@ WaylandServer (SurfaceRoles)
|
|||
// if the layer shell is not available then we use the xdg popup
|
||||
// for that we need a parent toplevel window
|
||||
|
||||
struct window *rootwindow = window; //[self getSuperMenuWindow: window];
|
||||
struct window *rootwindow = window;
|
||||
struct window *parentwindow = rootwindow;
|
||||
while (rootwindow = [self getSuperMenuWindow:parentwindow])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue