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
6cd2ef8a
Commit
6cd2ef8a
authored
Jun 10, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Constify XCB screen pointers
parent
d83b24ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
modules/access/screen/xcb.c
modules/access/screen/xcb.c
+1
-1
modules/video_output/xcb/common.c
modules/video_output/xcb/common.c
+1
-1
modules/video_output/xcb/window.c
modules/video_output/xcb/window.c
+1
-1
No files found.
modules/access/screen/xcb.c
View file @
6cd2ef8a
...
@@ -131,7 +131,7 @@ static int Open (vlc_object_t *obj)
...
@@ -131,7 +131,7 @@ static int Open (vlc_object_t *obj)
/* Find configured screen */
/* Find configured screen */
const
xcb_setup_t
*
setup
=
xcb_get_setup
(
conn
);
const
xcb_setup_t
*
setup
=
xcb_get_setup
(
conn
);
xcb_screen_t
*
scr
=
NULL
;
const
xcb_screen_t
*
scr
=
NULL
;
for
(
xcb_screen_iterator_t
i
=
xcb_setup_roots_iterator
(
setup
);
for
(
xcb_screen_iterator_t
i
=
xcb_setup_roots_iterator
(
setup
);
i
.
rem
>
0
;
xcb_screen_next
(
&
i
))
i
.
rem
>
0
;
xcb_screen_next
(
&
i
))
{
{
...
...
modules/video_output/xcb/common.c
View file @
6cd2ef8a
...
@@ -99,7 +99,7 @@ vout_window_t *GetWindow (vout_thread_t *obj,
...
@@ -99,7 +99,7 @@ vout_window_t *GetWindow (vout_thread_t *obj,
/* Find the selected screen */
/* Find the selected screen */
const
xcb_setup_t
*
setup
=
xcb_get_setup
(
conn
);
const
xcb_setup_t
*
setup
=
xcb_get_setup
(
conn
);
xcb_screen_t
*
screen
=
NULL
;
const
xcb_screen_t
*
screen
=
NULL
;
for
(
xcb_screen_iterator_t
i
=
xcb_setup_roots_iterator
(
setup
);
for
(
xcb_screen_iterator_t
i
=
xcb_setup_roots_iterator
(
setup
);
i
.
rem
>
0
&&
screen
==
NULL
;
xcb_screen_next
(
&
i
))
i
.
rem
>
0
&&
screen
==
NULL
;
xcb_screen_next
(
&
i
))
{
{
...
...
modules/video_output/xcb/window.c
View file @
6cd2ef8a
...
@@ -154,7 +154,7 @@ static int Open (vlc_object_t *obj)
...
@@ -154,7 +154,7 @@ static int Open (vlc_object_t *obj)
/* Find configured screen */
/* Find configured screen */
const
xcb_setup_t
*
setup
=
xcb_get_setup
(
conn
);
const
xcb_setup_t
*
setup
=
xcb_get_setup
(
conn
);
xcb_screen_t
*
scr
=
NULL
;
const
xcb_screen_t
*
scr
=
NULL
;
for
(
xcb_screen_iterator_t
i
=
xcb_setup_roots_iterator
(
setup
);
for
(
xcb_screen_iterator_t
i
=
xcb_setup_roots_iterator
(
setup
);
i
.
rem
>
0
;
xcb_screen_next
(
&
i
))
i
.
rem
>
0
;
xcb_screen_next
(
&
i
))
{
{
...
...
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