Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
e895b747
Commit
e895b747
authored
May 18, 2018
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
display: remove VOUT_DISPLAY_HIDE_MOUSE handling (refs #18661)
parent
092f7f94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
include/vlc_vout_display.h
include/vlc_vout_display.h
+0
-7
src/video_output/display.c
src/video_output/display.c
+1
-4
No files found.
include/vlc_vout_display.h
View file @
e895b747
...
...
@@ -113,9 +113,6 @@ typedef struct {
typedef
struct
{
bool
is_slow
;
/* The picture memory has slow read/write */
bool
has_double_click
;
/* Is double-click generated */
bool
needs_hide_mouse
;
/* Needs VOUT_DISPLAY_HIDE_MOUSE,
* needs to call vout_display_SendEventMouseMoved()
* or vout_display_SendEventMouseState() */
bool
has_pictures_invalid
;
/* Will VOUT_DISPLAY_EVENT_PICTURES_INVALID be used */
const
vlc_fourcc_t
*
subpicture_chromas
;
/* List of supported chromas for subpicture rendering. */
}
vout_display_info_t
;
...
...
@@ -124,10 +121,6 @@ typedef struct {
* Control query for vout_display_t
*/
enum
{
/* Hide the mouse. It will be sent when
* vout_display_t::info.needs_hide_mouse is true */
VOUT_DISPLAY_HIDE_MOUSE
VLC_DEPRECATED_ENUM
,
/* Ask to reset the internal buffers after a VOUT_DISPLAY_EVENT_PICTURES_INVALID
* request.
*/
...
...
src/video_output/display.c
View file @
e895b747
...
...
@@ -92,7 +92,6 @@ static vout_display_t *vout_display_New(vlc_object_t *obj,
vd
->
info
.
is_slow
=
false
;
vd
->
info
.
has_double_click
=
false
;
vd
->
info
.
needs_hide_mouse
=
false
;
vd
->
info
.
has_pictures_invalid
=
false
;
vd
->
info
.
subpicture_chromas
=
NULL
;
...
...
@@ -733,9 +732,7 @@ bool vout_ManageDisplay(vout_display_t *vd, bool allow_reset_pictures)
if
(
hide_mouse
)
{
msg_Dbg
(
vd
,
"auto hiding mouse cursor"
);
if
(
vout_HideWindowMouse
(
osys
->
vout
,
true
)
!=
VLC_SUCCESS
&&
vd
->
info
.
needs_hide_mouse
)
vout_display_Control
(
vd
,
VOUT_DISPLAY_HIDE_MOUSE
);
vout_HideWindowMouse
(
osys
->
vout
,
true
);
}
bool
reset_render
=
false
;
...
...
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