# HG changeset patch # User reimar # Date 1162676693 0 # Node ID 5fe83dd7549000b8d1fe3a168362e3410e0edb39 # Parent 839c48c35ce8f597028541ff924f8d1a3432ea1f Hack around Windows focus problem with -vo gl diff -r 839c48c35ce8 -r 5fe83dd75490 libvo/w32_common.c --- a/libvo/w32_common.c Sat Nov 04 20:48:15 2006 +0000 +++ b/libvo/w32_common.c Sat Nov 04 21:44:53 2006 +0000 @@ -261,6 +261,11 @@ 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;