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
949b4349
Commit
949b4349
authored
Apr 15, 2003
by
Emmanuel Puig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed mouse leave notification
parent
fe8a8c1b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
modules/gui/skins/gtk2/gtk2_window.cpp
modules/gui/skins/gtk2/gtk2_window.cpp
+3
-2
modules/gui/skins/win32/win32_window.cpp
modules/gui/skins/win32/win32_window.cpp
+2
-2
No files found.
modules/gui/skins/gtk2/gtk2_window.cpp
View file @
949b4349
...
...
@@ -2,7 +2,7 @@
* gtk2_window.cpp: GTK2 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_window.cpp,v 1.1
2 2003/04/15 16:47:20
karibu Exp $
* $Id: gtk2_window.cpp,v 1.1
3 2003/04/15 16:49:45
karibu Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
...
...
@@ -170,6 +170,7 @@ bool GTK2Window::ProcessOSEvent( Event *evt )
case
GDK_MOTION_NOTIFY
:
fpprintf
(
stderr
,
"Mouse move (%i)"
,
(
int
)
evt
);
if
(
LButtonDown
)
MouseMove
(
(
int
)(
(
GdkEventButton
*
)
p2
)
->
x
,
(
int
)(
(
GdkEventButton
*
)
p2
)
->
y
,
1
);
...
...
@@ -228,7 +229,7 @@ bool GTK2Window::ProcessOSEvent( Event *evt )
return
true
;
case
GDK_LEAVE_NOTIFY
:
OSAPI_PostMessage
(
this
,
WINDOW_LEAVE
,
-
1
,
-
1
);
OSAPI_PostMessage
(
this
,
WINDOW_LEAVE
,
0
,
0
);
return
true
;
/*
case WM_RBUTTONDOWN:
...
...
modules/gui/skins/win32/win32_window.cpp
View file @
949b4349
...
...
@@ -2,7 +2,7 @@
* win32_window.cpp: Win32 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: win32_window.cpp,v 1.
5 2003/04/15 16:47:20
karibu Exp $
* $Id: win32_window.cpp,v 1.
6 2003/04/15 16:49:45
karibu Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -198,7 +198,7 @@ bool Win32Window::ProcessOSEvent( Event *evt )
return
true
;
case
WM_MOUSELEAVE
:
OSAPI_PostMessage
(
this
,
WINDOW_LEAVE
,
-
1
,
-
1
);
OSAPI_PostMessage
(
this
,
WINDOW_LEAVE
,
0
,
0
);
return
true
;
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