Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
0b158b00
Commit
0b158b00
authored
Nov 05, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix macosx Fullscreen device selection in 0.8.6
parent
1f227ac5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+1
-5
No files found.
modules/gui/macosx/vout.m
View file @
0b158b00
...
...
@@ -51,7 +51,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
vlc_value_t
val
;
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
p_this
;
msg_Dbg
(
p_vout
,
"set %d"
,
new_val
.
i_int
);
var_Create
(
p_vout
->
p_vlc
,
"video-device"
,
VLC_VAR_INTEGER
);
var_Set
(
p_vout
->
p_vlc
,
"video-device"
,
new_val
);
...
...
@@ -476,7 +475,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
(
(
[
o_event
type
]
==
NSLeftMouseDown
)
&&
(
[
o_event
modifierFlags
]
&
NSControlKeyMask
)
)
)
{
msg_Dbg
(
p_vout
,
"received NSRightMouseDown (generic method) or Ctrl clic"
);
[
NSMenu
popUpContextMenu
:
[[
VLCMain
sharedInstance
]
getVoutMenu
]
withEvent
:
o_event
forView
:
[[[
VLCMain
sharedInstance
]
getControls
]
getVoutView
]];
}
}
...
...
@@ -502,7 +500,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
{
if
(
p_vout
&&
[
o_event
type
]
==
NSRightMouseDown
)
{
msg_Dbg
(
p_vout
,
"received NSRightMouseDown (specific method)"
);
[
NSMenu
popUpContextMenu
:
[[
VLCMain
sharedInstance
]
getVoutMenu
]
withEvent
:
o_event
forView
:
[[[
VLCMain
sharedInstance
]
getControls
]
getVoutView
]];
}
...
...
@@ -547,7 +544,6 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
{
/* FIXME: this isn't the appropriate place, but we can't receive
* NSRightMouseDown some how */
msg_Dbg
(
p_vout
,
"received NSRightMouseUp"
);
[
NSMenu
popUpContextMenu
:
[[
VLCMain
sharedInstance
]
getVoutMenu
]
withEvent
:
o_event
forView
:
[[[
VLCMain
sharedInstance
]
getControls
]
getVoutView
]];
}
...
...
@@ -913,7 +909,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
b_init_ok
=
VLC_FALSE
;
p_real_vout
=
[
VLCVoutView
getRealVout
:
p_vout
];
i_device
=
var_GetInteger
(
p_real_vout
->
p_
lib
vlc
,
"video-device"
);
i_device
=
var_GetInteger
(
p_real_vout
->
p_vlc
,
"video-device"
);
b_black
=
var_GetBool
(
p_vout
,
"macosx-black"
);
/* Find out on which screen to open the window */
...
...
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