Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
e39bc8a5
Commit
e39bc8a5
authored
Jun 11, 2008
by
Lukas Durfina
Committed by
Jean-Baptiste Kempf
Jun 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix of showing FS controller when it is slowly hidding
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
2aa6ed9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.cpp
+2
-2
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/interface_widgets.hpp
+3
-0
No files found.
modules/gui/qt4/components/interface_widgets.cpp
View file @
e39bc8a5
...
...
@@ -975,7 +975,7 @@ void FullscreenControllerWidget::customEvent( QEvent *event )
#endif
#if HAVE_TRANSPARENCY
setWindowOpacity
(
0.75
);
setWindowOpacity
(
DEFAULT_OPACITY
);
#endif
}
else
if
(
type
==
FullscreenControlHide_Type
)
...
...
@@ -1122,7 +1122,7 @@ static int showFullscreenControllCallback( vlc_object_t *vlc_object, const char
{
FullscreenControllerWidget
*
p_fs
=
(
FullscreenControllerWidget
*
)
data
;
if
(
p_fs
->
isFSCHidden
()
)
if
(
p_fs
->
isFSCHidden
()
||
p_fs
->
windowOpacity
()
<
DEFAULT_OPACITY
)
{
IMEvent
*
event
=
new
IMEvent
(
FullscreenControlShow_Type
,
0
);
QApplication
::
postEvent
(
p_fs
,
static_cast
<
QEvent
*>
(
event
)
);
...
...
modules/gui/qt4/components/interface_widgets.hpp
View file @
e39bc8a5
...
...
@@ -57,6 +57,9 @@
#define HAVE_TRANSPARENCY 1
#endif
/* Default value of opacity for FS controller */
#define DEFAULT_OPACITY 0.75
class
ResizeEvent
;
class
QPalette
;
class
QPixmap
;
...
...
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