Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
b648e677
Commit
b648e677
authored
Jul 25, 2005
by
ipkiss
Browse files
* skins2: Prevent invisible windows from anchoring the sides of the screen
parent
f6d61c2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/skins2/src/window_manager.cpp
View file @
b648e677
...
...
@@ -264,6 +264,12 @@ void WindowManager::checkAnchors( TopWindow *pWindow,
for
(
itMov
=
m_movingWindows
.
begin
();
itMov
!=
m_movingWindows
.
end
();
itMov
++
)
{
// Skip the invisible windows
if
(
!
(
*
itMov
)
->
getVisibleVar
().
get
()
)
{
continue
;
}
int
newLeft
=
(
*
itMov
)
->
getLeft
()
+
xOffset
;
int
newTop
=
(
*
itMov
)
->
getTop
()
+
yOffset
;
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