window: Use display_exit() instead of exit() in window menu
This commit is contained in:
parent
9a13dab8a9
commit
21eabf60b0
|
@ -1288,7 +1288,7 @@ window_menu_func(struct window *window, int index, void *data)
|
||||||
window->close_handler(window->parent,
|
window->close_handler(window->parent,
|
||||||
window->user_data);
|
window->user_data);
|
||||||
else
|
else
|
||||||
exit(0);
|
display_exit(window->display);
|
||||||
break;
|
break;
|
||||||
case 1: /* fullscreen */
|
case 1: /* fullscreen */
|
||||||
/* we don't have a way to get out of fullscreen for now */
|
/* we don't have a way to get out of fullscreen for now */
|
||||||
|
|
Loading…
Reference in New Issue