window: Use display_exit() instead of exit() in window menu
This commit is contained in:
+1
-1
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user