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
b66504f5
Commit
b66504f5
authored
Jun 22, 2003
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* at least it compiles now ;)
parent
fbe7f701
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
modules/gui/skins/x11/x11_event.cpp
modules/gui/skins/x11/x11_event.cpp
+3
-3
modules/gui/skins/x11/x11_window.cpp
modules/gui/skins/x11/x11_window.cpp
+3
-7
No files found.
modules/gui/skins/x11/x11_event.cpp
View file @
b66504f5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* x11_event.cpp: x11 implementation of the Event class
* x11_event.cpp: x11 implementation of the Event class
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* Copyright (C) 2003 VideoLAN
* $Id: x11_event.cpp,v 1.
4 2003/06/22 00:00:28
asmax Exp $
* $Id: x11_event.cpp,v 1.
5 2003/06/22 12:54:03
asmax Exp $
*
*
* Authors: Cyril Deguet <asmax@videolan.org>
* Authors: Cyril Deguet <asmax@videolan.org>
* Emmanuel Puig <karibu@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
@@ -74,8 +74,8 @@ bool X11Event::SendEvent()
...
@@ -74,8 +74,8 @@ bool X11Event::SendEvent()
{
{
// Find window matching with Wnd
// Find window matching with Wnd
list
<
SkinWindow
*>::
const_iterator
win
;
list
<
SkinWindow
*>::
const_iterator
win
;
for
(
win
=
SkinWindowList
::
Instance
()
->
B
egin
();
for
(
win
=
p_intf
->
p_sys
->
p_theme
->
WindowList
.
b
egin
();
win
!=
SkinWindowList
::
Instance
()
->
E
nd
();
win
++
)
win
!=
p_intf
->
p_sys
->
p_theme
->
WindowList
.
e
nd
();
win
++
)
{
{
// If it is the correct window
// If it is the correct window
if
(
Wnd
==
(
(
X11Window
*
)(
*
win
)
)
->
GetHandle
()
)
if
(
Wnd
==
(
(
X11Window
*
)(
*
win
)
)
->
GetHandle
()
)
...
...
modules/gui/skins/x11/x11_window.cpp
View file @
b66504f5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* x11_window.cpp: X11 implementation of the Window class
* x11_window.cpp: X11 implementation of the Window class
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* Copyright (C) 2003 VideoLAN
* $Id: x11_window.cpp,v 1.2
5 2003/06/22 00:00:28
asmax Exp $
* $Id: x11_window.cpp,v 1.2
6 2003/06/22 12:54:03
asmax Exp $
*
*
* Authors: Cyril Deguet <asmax@videolan.org>
* Authors: Cyril Deguet <asmax@videolan.org>
*
*
...
@@ -274,8 +274,8 @@ bool X11Window::ProcessOSEvent( Event *evt )
...
@@ -274,8 +274,8 @@ bool X11Window::ProcessOSEvent( Event *evt )
case
ButtonPress
:
case
ButtonPress
:
// Raise all the windows
// Raise all the windows
for
(
list
<
SkinWindow
*>::
const_iterator
win
=
for
(
list
<
SkinWindow
*>::
const_iterator
win
=
SkinWindowList
::
Instance
()
->
B
egin
();
p_intf
->
p_sys
->
p_theme
->
WindowList
.
b
egin
();
win
!=
SkinWindowList
::
Instance
()
->
E
nd
();
win
++
)
win
!=
p_intf
->
p_sys
->
p_theme
->
WindowList
.
e
nd
();
win
++
)
{
{
XLOCK
;
XLOCK
;
XRaiseWindow
(
display
,
(
(
X11Window
*
)(
*
win
)
)
->
GetHandle
()
);
XRaiseWindow
(
display
,
(
(
X11Window
*
)(
*
win
)
)
->
GetHandle
()
);
...
@@ -408,10 +408,6 @@ bool X11Window::ProcessOSEvent( Event *evt )
...
@@ -408,10 +408,6 @@ bool X11Window::ProcessOSEvent( Event *evt )
DropObject
->
DndDrop
(
((
XClientMessageEvent
*
)
p2
)
->
data
.
l
);
DropObject
->
DndDrop
(
((
XClientMessageEvent
*
)
p2
)
->
data
.
l
);
return
true
;
return
true
;
}
}
else
{
fprintf
(
stderr
,
"Unsupported client event %s
\n
"
,
type
);
}
return
false
;
return
false
;
default:
default:
...
...
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