Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
ffe7367b
Commit
ffe7367b
authored
Mar 28, 2011
by
Ludovic Fauvet
Committed by
Jean-Baptiste Kempf
Mar 29, 2011
Browse files
Qt4: Fix FSController glitches on Linux/KDE
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
11143cbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/components/controller.cpp
View file @
ffe7367b
...
...
@@ -43,6 +43,7 @@
#include
<QSpacerItem>
#include
<QToolButton>
#include
<QHBoxLayout>
#include
<QRegion>
#include
<QSignalMapper>
#include
<QTimer>
...
...
@@ -649,7 +650,12 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i, QWi
vout
.
clear
();
#ifdef Q_WS_X11
setWindowFlags
(
Qt
::
Window
|
Qt
::
FramelessWindowHint
);
setWindowModality
(
Qt
::
ApplicationModal
);
#else
setWindowFlags
(
Qt
::
ToolTip
);
#endif
setMinimumWidth
(
600
);
setFrameShape
(
QFrame
::
StyledPanel
);
...
...
@@ -748,6 +754,11 @@ void FullscreenControllerWidget::showFSC()
setWindowOpacity
(
var_InheritFloat
(
p_intf
,
"qt-fs-opacity"
)
);
#endif
#ifdef Q_WS_X11
// Tell kwin that we do not want a shadow around the fscontroller
setMask
(
QRegion
(
0
,
0
,
width
(),
height
()
)
);
#endif
show
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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