diff --git a/libvo/w32_common.c b/libvo/w32_common.c index 4b19594249..0b740661e2 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -261,6 +261,11 @@ static int createRenderingContext(void) { vo_dheight = prev_height; vo_dx = prev_x; vo_dy = prev_y; + // HACK around what probably is a windows focus bug: + // when pressing 'f' on the console, then 'f' again to + // return to windowed mode, any input into the video + // window is lost forever. + SetFocus(vo_window); } r.left = vo_dx; r.right = r.left + vo_dwidth;