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
7b3cb7d9
Commit
7b3cb7d9
authored
Feb 03, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11: fix compiler warnings.
parent
0bed6fc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+4
-9
No files found.
modules/video_output/x11/xcommon.c
View file @
7b3cb7d9
...
...
@@ -1302,9 +1302,7 @@ static int ManageVideo( vout_thread_t *p_vout )
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
var_SetBool
(
p_vout
,
"mouse-clicked"
,
true
);
vlc_value_t
val
;
val
.
b_bool
=
false
;
var_Set
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
val
);
var_SetBool
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
false
);
}
break
;
...
...
@@ -1326,8 +1324,7 @@ static int ManageVideo( vout_thread_t *p_vout )
val
.
i_int
&=
~
4
;
var_Set
(
p_vout
,
"mouse-button-down"
,
val
);
vlc_value_t
val
;
val
.
b_bool
=
true
;
var_Set
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
val
);
var_SetBool
(
p_vout
->
p_libvlc
,
"intf-popupmenu"
,
true
);
}
break
;
...
...
@@ -1349,7 +1346,6 @@ static int ManageVideo( vout_thread_t *p_vout )
else
if
(
xevent
.
type
==
MotionNotify
)
{
unsigned
int
i_width
,
i_height
,
i_x
,
i_y
;
vlc_value_t
val
;
/* somewhat different use for vout_PlacePicture:
* here the values are needed to give to mouse coordinates
...
...
@@ -1384,8 +1380,7 @@ static int ManageVideo( vout_thread_t *p_vout )
var_Set
(
p_vout
,
"mouse-y"
,
val
);
val
.
b_bool
=
true
;
var_Set
(
p_vout
,
"mouse-moved"
,
val
);
var_SetBool
(
p_vout
,
"mouse-moved"
,
true
);
p_vout
->
p_sys
->
i_time_mouse_last_moved
=
mdate
();
if
(
!
p_vout
->
p_sys
->
b_mouse_pointer_visible
)
...
...
@@ -2795,7 +2790,7 @@ static int InitDisplay( vout_thread_t *p_vout )
if
(
p_vout
->
p_sys
->
i_shm_opcode
)
{
int
m
ajor
,
m
inor
;
int
minor
;
Bool
pixmaps
;
XShmQueryVersion
(
p_vout
->
p_sys
->
p_display
,
&
major
,
&
minor
,
...
...
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