[vlc-devel] commit: XCB/X11: implement pf_control: handle zoom and stay-on-top ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu May 7 22:59:22 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 7 22:59:50 2009 +0300| [13ee24b32a262e0f805d39e1b54af57dc80dbe06] | committer: Rémi Denis-Courmont
XCB/X11: implement pf_control: handle zoom and stay-on-top
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13ee24b32a262e0f805d39e1b54af57dc80dbe06
---
modules/video_output/xcb/x11.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index c223212..6d1bea4 100644
--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -83,6 +83,7 @@ static int Init (vout_thread_t *);
static void Deinit (vout_thread_t *);
static void Display (vout_thread_t *, picture_t *);
static int Manage (vout_thread_t *);
+static int Control (vout_thread_t *, int, va_list);
int CheckError (vout_thread_t *vout, const char *str, xcb_void_cookie_t ck)
{
@@ -274,6 +275,7 @@ static int Open (vlc_object_t *obj)
vout->pf_end = Deinit;
vout->pf_display = Display;
vout->pf_manage = Manage;
+ vout->pf_control = Control;
return VLC_SUCCESS;
error:
@@ -429,3 +431,8 @@ HandleParentStructure (vout_thread_t *vout, xcb_connection_t *conn,
XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y,
values);
}
+
+static int Control (vout_thread_t *vout, int query, va_list ap)
+{
+ return vout_ControlWindow (vout->p_sys->embed, query, ap);
+}
More information about the vlc-devel
mailing list