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
6455935a
Commit
6455935a
authored
Dec 15, 2009
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2(Linux): reactivate mouse on a video window (like dblclick for fullscreen)
parent
f39e08f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
modules/gui/skins2/x11/x11_window.cpp
modules/gui/skins2/x11/x11_window.cpp
+13
-3
No files found.
modules/gui/skins2/x11/x11_window.cpp
View file @
6455935a
...
...
@@ -97,9 +97,19 @@ X11Window::X11Window( intf_thread_t *pIntf, GenericWindow &rWindow,
}
// Select events received by the window
XSelectInput
(
XDISPLAY
,
m_wnd
,
ExposureMask
|
KeyPressMask
|
PointerMotionMask
|
ButtonPressMask
|
ButtonReleaseMask
|
LeaveWindowMask
|
FocusChangeMask
);
long
event_mask
;
if
(
type
==
GenericWindow
::
VoutWindow
)
{
event_mask
=
ExposureMask
|
KeyPressMask
|
LeaveWindowMask
|
FocusChangeMask
;
}
else
{
event_mask
=
ExposureMask
|
KeyPressMask
|
PointerMotionMask
|
ButtonPressMask
|
ButtonReleaseMask
|
LeaveWindowMask
|
FocusChangeMask
;
}
XSelectInput
(
XDISPLAY
,
m_wnd
,
event_mask
);
// Store a pointer on the generic window in a map
X11Factory
*
pFactory
=
(
X11Factory
*
)
X11Factory
::
instance
(
getIntf
()
);
...
...
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