[vlc-devel] commit: XCB-XVideo: implement full-screen mode ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Aug 11 19:38:20 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 11 20:13:11 2009 +0300| [93f25799637fad6d23b5bdda0e9830b3e1f6756e] | committer: Rémi Denis-Courmont
XCB-XVideo: implement full-screen mode
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=93f25799637fad6d23b5bdda0e9830b3e1f6756e
---
modules/video_output/xcb/xvideo.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index 025f61c..8f6b055 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -602,6 +602,12 @@ static int Control (vout_display_t *vd, int query, va_list ap)
switch (query)
{
+ case VOUT_DISPLAY_CHANGE_FULLSCREEN:
+ {
+ const vout_display_cfg_t *c = va_arg (ap, const vout_display_cfg_t *);
+ return vout_window_SetFullScreen (p_sys->embed, c->is_fullscreen);
+ }
+
case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE:
case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED:
case VOUT_DISPLAY_CHANGE_ZOOM:
@@ -658,10 +664,6 @@ static int Control (vout_display_t *vd, int query, va_list ap)
/* Hide the mouse. It will be send when
* vout_display_t::info.b_hide_mouse is false */
VOUT_DISPLAY_HIDE_MOUSE,
-
- /* Ask the module to acknowledge/refuse the fullscreen state change after
- * being requested (externaly or by VOUT_DISPLAY_EVENT_FULLSCREEN */
- VOUT_DISPLAY_CHANGE_FULLSCREEN, /* const vout_display_cfg_t *p_cfg */
#endif
case VOUT_DISPLAY_RESET_PICTURES:
assert(0);
More information about the vlc-devel
mailing list