Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
b648e677
Commit
b648e677
authored
Jul 25, 2005
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2: Prevent invisible windows from anchoring the sides of the screen
parent
f6d61c2e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/gui/skins2/src/window_manager.cpp
modules/gui/skins2/src/window_manager.cpp
+6
-0
No files found.
modules/gui/skins2/src/window_manager.cpp
View file @
b648e677
...
@@ -264,6 +264,12 @@ void WindowManager::checkAnchors( TopWindow *pWindow,
...
@@ -264,6 +264,12 @@ void WindowManager::checkAnchors( TopWindow *pWindow,
for
(
itMov
=
m_movingWindows
.
begin
();
for
(
itMov
=
m_movingWindows
.
begin
();
itMov
!=
m_movingWindows
.
end
();
itMov
++
)
itMov
!=
m_movingWindows
.
end
();
itMov
++
)
{
{
// Skip the invisible windows
if
(
!
(
*
itMov
)
->
getVisibleVar
().
get
()
)
{
continue
;
}
int
newLeft
=
(
*
itMov
)
->
getLeft
()
+
xOffset
;
int
newLeft
=
(
*
itMov
)
->
getLeft
()
+
xOffset
;
int
newTop
=
(
*
itMov
)
->
getTop
()
+
yOffset
;
int
newTop
=
(
*
itMov
)
->
getTop
()
+
yOffset
;
if
(
newLeft
>
workArea
.
getLeft
()
-
m_magnet
&&
if
(
newLeft
>
workArea
.
getLeft
()
-
m_magnet
&&
...
...
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