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
910868e2
Commit
910868e2
authored
Aug 28, 2006
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
npmac.cpp: forgot one line from Charles Duffy OS X/Intel patch
vlcshell.cpp: improved FireFox/OSX support
parent
961d6594
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
mozilla/support/npmac.cpp
mozilla/support/npmac.cpp
+1
-1
mozilla/vlcshell.cpp
mozilla/vlcshell.cpp
+5
-1
No files found.
mozilla/support/npmac.cpp
View file @
910868e2
...
...
@@ -1156,7 +1156,7 @@ NPError NP_GetEntryPoints(NPPluginFuncs* pluginFuncs)
pluginFuncs
->
version
=
(
NP_VERSION_MAJOR
<<
8
)
+
NP_VERSION_MINOR
;
pluginFuncs
->
size
=
sizeof
(
NPPluginFuncs
);
pluginFuncs
->
newp
=
Private_New
;
pluginFuncs
->
newp
=
NewNPP_NewProc
(
Private_New
)
;
pluginFuncs
->
destroy
=
NewNPP_DestroyProc
(
Private_Destroy
);
pluginFuncs
->
setwindow
=
NewNPP_SetWindowProc
(
Private_SetWindow
);
pluginFuncs
->
newstream
=
NewNPP_NewStreamProc
(
Private_NewStream
);
...
...
mozilla/vlcshell.cpp
View file @
910868e2
...
...
@@ -176,6 +176,7 @@ int16 NPP_HandleEvent( NPP instance, void * event )
}
}
}
fprintf
(
stderr
,
"update !
\n
"
);
if
(
needsDisplay
)
{
const
NPWindow
*
npwindow
=
p_plugin
->
getWindow
();
...
...
@@ -185,6 +186,9 @@ int16 NPP_HandleEvent( NPP instance, void * event )
ForeColor
(
blackColor
);
PenMode
(
patCopy
);
/* seems that firefox forgets to set the following on occasion (reload) */
SetOrigin
(((
NP_Port
*
)
npwindow
->
window
)
->
portx
,
((
NP_Port
*
)
npwindow
->
window
)
->
porty
);
Rect
rect
;
rect
.
left
=
0
;
rect
.
top
=
0
;
...
...
@@ -329,7 +333,7 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
view
.
left
=
((
NP_Port
*
)
(
window
->
window
))
->
portx
;
view
.
bottom
=
window
->
height
+
view
.
top
;
view
.
right
=
window
->
width
+
view
.
left
;
fprintf
(
stderr
,
"window.x=%d, window.y=%d, port.x=%d, port.y=%d
\n
"
,
window
->
x
,
window
->
y
,
view
.
top
,
view
.
left
);
/* clipRect coordinates are also relative to GrafPort */
clip
.
top
=
window
->
clipRect
.
top
;
clip
.
left
=
window
->
clipRect
.
left
;
...
...
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