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
904882f2
Commit
904882f2
authored
Sep 27, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB: constify
parent
52265ccd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/video_output/xcb/events.c
modules/video_output/xcb/events.c
+5
-4
No files found.
modules/video_output/xcb/events.c
View file @
904882f2
...
...
@@ -41,19 +41,19 @@
/* FIXME we assume direct mapping between XCB and VLC */
static
void
HandleButtonPress
(
vout_display_t
*
vd
,
xcb_button_press_event_t
*
ev
)
const
xcb_button_press_event_t
*
ev
)
{
vout_display_SendEventMousePressed
(
vd
,
ev
->
detail
-
1
);
}
static
void
HandleButtonRelease
(
vout_display_t
*
vd
,
xcb_button_release_event_t
*
ev
)
const
xcb_button_release_event_t
*
ev
)
{
vout_display_SendEventMouseReleased
(
vd
,
ev
->
detail
-
1
);
}
static
void
HandleMotionNotify
(
vout_display_t
*
vd
,
xcb_motion_notify_event_t
*
ev
)
const
xcb_motion_notify_event_t
*
ev
)
{
vout_display_place_t
place
;
...
...
@@ -75,7 +75,8 @@ static void HandleMotionNotify (vout_display_t *vd,
}
static
void
HandleParentStructure
(
vout_display_t
*
vd
,
xcb_configure_notify_event_t
*
ev
)
HandleParentStructure
(
vout_display_t
*
vd
,
const
xcb_configure_notify_event_t
*
ev
)
{
if
(
ev
->
width
!=
vd
->
cfg
->
display
.
width
||
ev
->
height
!=
vd
->
cfg
->
display
.
height
)
...
...
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