window: Use display_exit() instead of exit() in window menu

This commit is contained in:
Kristian Høgsberg 2012-01-08 15:41:52 -05:00
parent 9a13dab8a9
commit 21eabf60b0
1 changed files with 1 additions and 1 deletions

View File

@ -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 */