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
Steve Lhomme
VLC
Commits
b9d0fb94
Commit
b9d0fb94
authored
Jun 22, 2003
by
Cyril Deguet
Browse files
* x11/x11_window.cpp: raise a window when clicking on it
parent
b66504f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/skins/x11/x11_window.cpp
View file @
b9d0fb94
...
...
@@ -2,7 +2,7 @@
* x11_window.cpp: X11 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: x11_window.cpp,v 1.2
6
2003/06/22 1
2:54:0
3 asmax Exp $
* $Id: x11_window.cpp,v 1.2
7
2003/06/22 1
3:06:2
3 asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
...
...
@@ -277,10 +277,18 @@ bool X11Window::ProcessOSEvent( Event *evt )
p_intf
->
p_sys
->
p_theme
->
WindowList
.
begin
();
win
!=
p_intf
->
p_sys
->
p_theme
->
WindowList
.
end
();
win
++
)
{
XLOCK
;
XRaiseWindow
(
display
,
(
(
X11Window
*
)(
*
win
)
)
->
GetHandle
()
);
XUNLOCK
;
Window
id
=
(
(
X11Window
*
)(
*
win
)
)
->
GetHandle
();
// the current window is raised last
if
(
id
!=
Wnd
)
{
XLOCK
;
XRaiseWindow
(
display
,
id
);
XUNLOCK
;
}
}
XLOCK
;
XRaiseWindow
(
display
,
Wnd
);
XUNLOCK
;
button
=
0
;
if
(
((
XButtonEvent
*
)
p2
)
->
state
&
ControlMask
)
...
...
Write
Preview
Supports
Markdown
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