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
d357698c
Commit
d357698c
authored
Jun 21, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Do not try to move when going to fullscreen if you have only 1 screen.
parent
c0b23282
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+4
-0
modules/gui/qt4/qt4.hpp
modules/gui/qt4/qt4.hpp
+1
-0
No files found.
modules/gui/qt4/main_interface.cpp
View file @
d357698c
...
...
@@ -614,7 +614,11 @@ void MainInterface::setVideoFullScreen( bool fs )
QRect
screenres
=
QApplication
::
desktop
()
->
screenGeometry
(
numscreen
);
/* To be sure window is on proper-screen in xinerama */
#if HAS_QT46
if
(
!
screenres
.
contains
(
pos
()
)
&&
QApplication
::
desktop
()
->
screenCount
()
>
1
)
#else
if
(
!
screenres
.
contains
(
pos
()
)
)
#endif
{
msg_Dbg
(
p_intf
,
"Moving video to correct screen"
);
move
(
QPoint
(
screenres
.
x
(),
screenres
.
y
()
)
);
...
...
modules/gui/qt4/qt4.hpp
View file @
d357698c
...
...
@@ -44,6 +44,7 @@
#endif
#define HAS_QT45 ( QT_VERSION >= 0x040500 )
#define HAS_QT46 ( QT_VERSION >= 0x040600 )
enum
{
DialogEventType
=
0
,
...
...
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