Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
13ee24b3
Commit
13ee24b3
authored
May 07, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB/X11: implement pf_control: handle zoom and stay-on-top
parent
e24d1c8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
modules/video_output/xcb/x11.c
modules/video_output/xcb/x11.c
+7
-0
No files found.
modules/video_output/xcb/x11.c
View file @
13ee24b3
...
@@ -83,6 +83,7 @@ static int Init (vout_thread_t *);
...
@@ -83,6 +83,7 @@ static int Init (vout_thread_t *);
static
void
Deinit
(
vout_thread_t
*
);
static
void
Deinit
(
vout_thread_t
*
);
static
void
Display
(
vout_thread_t
*
,
picture_t
*
);
static
void
Display
(
vout_thread_t
*
,
picture_t
*
);
static
int
Manage
(
vout_thread_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
)
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)
...
@@ -274,6 +275,7 @@ static int Open (vlc_object_t *obj)
vout
->
pf_end
=
Deinit
;
vout
->
pf_end
=
Deinit
;
vout
->
pf_display
=
Display
;
vout
->
pf_display
=
Display
;
vout
->
pf_manage
=
Manage
;
vout
->
pf_manage
=
Manage
;
vout
->
pf_control
=
Control
;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
error:
error:
...
@@ -429,3 +431,8 @@ HandleParentStructure (vout_thread_t *vout, xcb_connection_t *conn,
...
@@ -429,3 +431,8 @@ HandleParentStructure (vout_thread_t *vout, xcb_connection_t *conn,
XCB_CONFIG_WINDOW_X
|
XCB_CONFIG_WINDOW_Y
,
XCB_CONFIG_WINDOW_X
|
XCB_CONFIG_WINDOW_Y
,
values
);
values
);
}
}
static
int
Control
(
vout_thread_t
*
vout
,
int
query
,
va_list
ap
)
{
return
vout_ControlWindow
(
vout
->
p_sys
->
embed
,
query
,
ap
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment