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
5f90fb1f
Commit
5f90fb1f
authored
Apr 15, 2003
by
Emmanuel Puig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed GTK2 events
parent
1377f497
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
modules/gui/skins/gtk2/gtk2_run.cpp
modules/gui/skins/gtk2/gtk2_run.cpp
+16
-6
No files found.
modules/gui/skins/gtk2/gtk2_run.cpp
View file @
5f90fb1f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* gtk2_run.cpp:
* gtk2_run.cpp:
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_run.cpp,v 1.
7 2003/04/15 20:33:58
karibu Exp $
* $Id: gtk2_run.cpp,v 1.
8 2003/04/15 20:42:04
karibu Exp $
*
*
* Authors: Cyril Deguet <asmax@videolan.org>
* Authors: Cyril Deguet <asmax@videolan.org>
*
*
...
@@ -72,18 +72,28 @@ void GTK2Proc( GdkEvent *event, gpointer data )
...
@@ -72,18 +72,28 @@ void GTK2Proc( GdkEvent *event, gpointer data )
unsigned
int
msg
;
unsigned
int
msg
;
VlcProc
*
proc
=
(
VlcProc
*
)
data
;
VlcProc
*
proc
=
(
VlcProc
*
)
data
;
intf_thread_t
*
p_intf
=
proc
->
GetpIntf
();
intf_thread_t
*
p_intf
=
proc
->
GetpIntf
();
Event
*
evt
;
list
<
Window
*>::
const_iterator
win
;
list
<
Window
*>::
const_iterator
win
;
GdkWindow
*
gwnd
=
((
GdkEventAny
*
)
event
)
->
window
;
GdkWindow
*
gwnd
=
((
GdkEventAny
*
)
event
)
->
window
;
// Create event to dispatch in windows
// Skin event
if
(
event
->
type
==
GDK_CLIENT_EVENT
)
if
(
event
->
type
==
GDK_CLIENT_EVENT
)
{
msg
=
(
(
GdkEventClient
*
)
event
)
->
data
.
l
[
0
];
msg
=
(
(
GdkEventClient
*
)
event
)
->
data
.
l
[
0
];
evt
=
(
Event
*
)
new
OSEvent
(
p_intf
,
((
GdkEventAny
*
)
event
)
->
window
,
msg
,
(
(
GdkEventClient
*
)
event
)
->
data
.
l
[
1
],
(
(
GdkEventClient
*
)
event
)
->
data
.
l
[
2
]
);
}
// System event
else
else
{
msg
=
event
->
type
;
msg
=
event
->
type
;
evt
=
(
Event
*
)
new
OSEvent
(
p_intf
,
// Create event to dispatch in windows
((
GdkEventAny
*
)
event
)
->
window
,
msg
,
0
,
(
long
)
event
);
Event
*
evt
=
(
Event
*
)
new
OSEvent
(
p_intf
,
((
GdkEventAny
*
)
event
)
->
window
,
}
msg
,
0
,
(
long
)
event
);
if
(
IsVLCEvent
(
msg
)
)
if
(
IsVLCEvent
(
msg
)
)
{
{
...
...
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