mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-29 22:58:15 +02:00
clients/window: fail if NULL returned from frame_create
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
This commit is contained in:
parent
86c68b328a
commit
bae79ca741
1 changed files with 1 additions and 0 deletions
|
|
@ -4594,6 +4594,7 @@ window_show_menu(struct display *display,
|
|||
window_set_buffer_transform (menu->window, window_get_buffer_transform (parent));
|
||||
menu->frame = frame_create(window->display->theme, 0, 0,
|
||||
FRAME_BUTTON_NONE, NULL);
|
||||
fail_on_null(menu->frame);
|
||||
menu->entries = entries;
|
||||
menu->count = count;
|
||||
menu->release_count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue