Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
05372d9c
Commit
05372d9c
authored
Oct 21, 2019
by
Clément Fauconnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "screens overlapping on ubuntu 18 in some cases"
This reverts commit
7dc58b7e
.
parent
288b21c1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
UBDisplayManager.cpp
src/core/UBDisplayManager.cpp
+3
-2
No files found.
src/core/UBDisplayManager.cpp
View file @
05372d9c
...
@@ -222,15 +222,16 @@ void UBDisplayManager::adjustScreens(int screen)
...
@@ -222,15 +222,16 @@ void UBDisplayManager::adjustScreens(int screen)
void
UBDisplayManager
::
positionScreens
()
void
UBDisplayManager
::
positionScreens
()
{
{
if
(
mDesktopWidget
&&
mControlScreenIndex
>
-
1
)
if
(
mDesktopWidget
&&
mControlScreenIndex
>
-
1
)
{
{
mDesktopWidget
->
hide
();
mDesktopWidget
->
hide
();
mDesktopWidget
->
setGeometry
(
mDesktop
->
availableGeometry
(
mDesktopWidget
));
mDesktopWidget
->
setGeometry
(
mDesktop
->
screenGeometry
(
mControlScreenIndex
));
}
}
if
(
mControlWidget
&&
mControlScreenIndex
>
-
1
)
if
(
mControlWidget
&&
mControlScreenIndex
>
-
1
)
{
{
mControlWidget
->
hide
();
mControlWidget
->
hide
();
mControlWidget
->
setGeometry
(
mDesktop
->
availableGeometry
(
mControlWidget
));
mControlWidget
->
setGeometry
(
mDesktop
->
screenGeometry
(
mControlScreenIndex
));
UBPlatformUtils
::
showFullScreen
(
mControlWidget
);
UBPlatformUtils
::
showFullScreen
(
mControlWidget
);
}
}
...
...
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