Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
00155d40
Commit
00155d40
authored
Apr 16, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed xcb resize support.
Yep, there is some black magic here ;)
parent
ad9613a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/video_output/xcb/xcb.c
modules/video_output/xcb/xcb.c
+4
-2
No files found.
modules/video_output/xcb/xcb.c
View file @
00155d40
...
...
@@ -427,6 +427,8 @@ static int Init (vout_thread_t *vout)
const
xcb_screen_t
*
screen
=
p_sys
->
screen
;
unsigned
x
,
y
,
width
,
height
;
I_OUTPUTPICTURES
=
0
;
/* Determine parent window and size */
if
(
vout
->
b_fullscreen
)
{
...
...
@@ -534,8 +536,8 @@ static void Deinit (vout_thread_t *vout)
{
vout_sys_t
*
p_sys
=
vout
->
p_sys
;
while
(
I_OUTPUTPICTURES
>
0
)
PictureDeinit
(
PP_OUTPUTPICTURE
[
--
I_OUTPUTPICTURES
]);
for
(
int
i
=
0
;
i
<
I_OUTPUTPICTURES
;
i
++
)
PictureDeinit
(
PP_OUTPUTPICTURE
[
i
]);
xcb_unmap_window
(
p_sys
->
conn
,
p_sys
->
window
);
xcb_destroy_window
(
p_sys
->
conn
,
p_sys
->
window
);
...
...
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