Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
64b64281
Commit
64b64281
authored
Jan 25, 2004
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/generic_window.cpp: don't raise the windows on a mouse up event
parent
73a2f963
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
modules/gui/skins2/src/generic_window.cpp
modules/gui/skins2/src/generic_window.cpp
+4
-5
No files found.
modules/gui/skins2/src/generic_window.cpp
View file @
64b64281
...
...
@@ -2,7 +2,7 @@
* generic_window.cpp
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: generic_window.cpp,v 1.
1 2004/01/03 23:31:33
asmax Exp $
* $Id: generic_window.cpp,v 1.
2 2004/01/25 21:38:57
asmax Exp $
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr>
...
...
@@ -147,18 +147,17 @@ void GenericWindow::processEvent( EvtLeave &rEvtLeave )
void
GenericWindow
::
processEvent
(
EvtMouse
&
rEvtMouse
)
{
// Raise the window and its anchored windows
m_rWindowManager
.
raise
(
this
);
// Get the control hit by the mouse
CtrlGeneric
*
pNewHitControl
=
findHitControl
(
rEvtMouse
.
getXPos
(),
rEvtMouse
.
getYPos
()
);
setLastHit
(
pNewHitControl
);
// Change the focused control
if
(
rEvtMouse
.
getAction
()
==
EvtMouse
::
kDown
)
{
// Raise all the windows
m_rWindowManager
.
raise
(
this
);
if
(
pNewHitControl
&&
pNewHitControl
->
isFocusable
()
)
{
// If a new control gains the focus, the previous one loses it
...
...
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