diff options
Diffstat (limited to 'screen_play.c')
-rw-r--r-- | screen_play.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/screen_play.c b/screen_play.c index 5669d3641..eb1048951 100644 --- a/screen_play.c +++ b/screen_play.c @@ -134,6 +134,14 @@ play_init(WINDOW *w, int cols, int rows) } static void +play_resize(int cols, int rows) +{ + lw->cols = cols; + lw->rows = rows; +} + + +static void play_exit(void) { list_window_free(lw); @@ -251,6 +259,7 @@ get_screen_playlist(void) functions.exit = play_exit; functions.open = NULL; functions.close = NULL; + functions.resize = play_resize; functions.paint = play_paint; functions.update = play_update; functions.cmd = play_cmd; |