openbsd-ports/graphics/fxtv/patches/patch-actions_c

29 lines
897 B
Plaintext

$OpenBSD: patch-actions_c,v 1.3 2005/04/11 21:56:48 naddy Exp $
--- actions.c.orig Mon Feb 12 15:26:23 2001
+++ actions.c Wed Aug 15 13:46:30 2001
@@ -748,11 +748,14 @@ static void TVActionToggleZoomAction(
/* FIXME: Parameterize the full-screen arg */
TVSCREENSetZoomState( !d->zoom_on, fullscreen );
TVTOOLSSetToggleState( TV_TOOLITEM_FULLSCREEN, d->zoom_on );
-
+
+#ifndef __OpenBSD__
/* This is an ugly hack. Changing the video mode can take a while, */
/* If this was initiated by a remote event, this delay messes up */
/* remote key debouncing. Just flush the buffer of any repeats. */
TVREMOTEFlush();
+#endif
+
}
@@ -1263,6 +1266,8 @@ static void TVActionQuitAction(
fprintf( stderr,
"TVActionQuitAction: Unexpected argument ignored.\n" );
}
+
+ TVAUDIOSetMuteState( True );
exit(0);
}