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
6eaebb99
Commit
6eaebb99
authored
Jul 13, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Make sure we can move the window by clicking in its background.
Regression if I recall well.
parent
c1a89c64
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
modules/gui/macosx/embeddedwindow.m
modules/gui/macosx/embeddedwindow.m
+2
-0
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+5
-0
modules/gui/macosx/voutgl.m
modules/gui/macosx/voutgl.m
+5
-0
No files found.
modules/gui/macosx/embeddedwindow.m
View file @
6eaebb99
...
@@ -70,6 +70,8 @@
...
@@ -70,6 +70,8 @@
[
o_btn_fullscreen
setState
:
NO
];
[
o_btn_fullscreen
setState
:
NO
];
b_fullscreen
=
NO
;
b_fullscreen
=
NO
;
[
self
setMovableByWindowBackground
:
YES
];
[
self
setDelegate
:
self
];
[
self
setDelegate
:
self
];
/* Make sure setVisible: returns NO */
/* Make sure setVisible: returns NO */
...
...
modules/gui/macosx/vout.m
View file @
6eaebb99
...
@@ -912,6 +912,11 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
...
@@ -912,6 +912,11 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
o_embeddedwindow
=
[
self
window
];
o_embeddedwindow
=
[
self
window
];
}
}
-
(
BOOL
)
mouseDownCanMoveWindow
{
return
YES
;
}
-
(
id
)
initWithFrame
:
(
NSRect
)
frameRect
-
(
id
)
initWithFrame
:
(
NSRect
)
frameRect
{
{
if
(
self
=
[
super
initWithFrame
:
frameRect
])
if
(
self
=
[
super
initWithFrame
:
frameRect
])
...
...
modules/gui/macosx/voutgl.m
View file @
6eaebb99
...
@@ -404,6 +404,11 @@ static void Unlock( vout_thread_t * p_vout )
...
@@ -404,6 +404,11 @@ static void Unlock( vout_thread_t * p_vout )
return
self
;
return
self
;
}
}
-
(
BOOL
)
mouseDownCanMoveWindow
{
return
YES
;
}
-
(
void
)
reshape
-
(
void
)
reshape
{
{
int
x
,
y
;
int
x
,
y
;
...
...
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