Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
f7ec1242
Commit
f7ec1242
authored
Apr 29, 2003
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./modules/gui/skins/src/theme.cpp: avoid infinite recursion with
circular anchoring
parent
1a923219
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
modules/gui/skins/src/theme.cpp
modules/gui/skins/src/theme.cpp
+10
-9
No files found.
modules/gui/skins/src/theme.cpp
View file @
f7ec1242
...
...
@@ -2,7 +2,7 @@
* theme.cpp: Theme class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: theme.cpp,v 1.1
2 2003/04/22 22:57:40
ipkiss Exp $
* $Id: theme.cpp,v 1.1
3 2003/04/29 20:36:56
ipkiss Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -245,17 +245,18 @@ void Theme::MoveSkin( SkinWindow *wnd, int left, int top )
hang
++
)
{
win
=
(
*
hang
)
->
GetParent
();
win
->
GetPos
(
x
,
y
);
// Check that the window hasn't already moved (this avoids
// infinite recursion with circular anchoring)
if
(
!
win
->
Moved
)
{
win
->
Moved
=
true
;
MoveSkin
(
win
,
left
,
top
);
}
}
}
// Move window only if has not been moved yet
if
(
!
wnd
->
Moved
)
{
wnd
->
Moved
=
true
;
// Move window
wnd
->
Move
(
oldx
+
left
,
oldy
+
top
);
}
}
//---------------------------------------------------------------------------
bool
Theme
::
MoveSkinMagnet
(
SkinWindow
*
wnd
,
int
left
,
int
top
)
...
...
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