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
bfe80765
Commit
bfe80765
authored
Feb 05, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB window: set background color to black
parent
b8554d1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/video_output/xcb/window.c
modules/video_output/xcb/window.c
+6
-1
No files found.
modules/video_output/xcb/window.c
View file @
bfe80765
...
...
@@ -79,12 +79,17 @@ static int Open (vlc_object_t *obj)
/* Create window */
xcb_screen_t
*
scr
=
xcb_aux_get_screen
(
conn
,
snum
);
const
uint32_t
mask
=
XCB_CW_BACK_PIXEL
;
uint32_t
values
[
1
]
=
{
/* XCB_CW_BACK_PIXEL */
scr
->
black_pixel
,
};
xcb_window_t
window
=
xcb_generate_id
(
conn
);
ck
=
xcb_create_window_checked
(
conn
,
scr
->
root_depth
,
window
,
scr
->
root
,
0
,
0
,
wnd
->
width
,
wnd
->
height
,
0
,
XCB_WINDOW_CLASS_INPUT_OUTPUT
,
scr
->
root_visual
,
0
,
NULL
);
scr
->
root_visual
,
mask
,
values
);
err
=
xcb_request_check
(
conn
,
ck
);
if
(
err
)
{
...
...
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