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
dc20831c
Commit
dc20831c
authored
Oct 13, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/video_output/x11/xcommon.c: don't steal events from the owner window.
parent
92c0f930
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+7
-5
No files found.
modules/video_output/x11/xcommon.c
View file @
dc20831c
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Sam Hocevar <sam@zoy.org>
* Sam Hocevar <sam@zoy.org>
* David Kennedy <dkennedy@tinytoad.com>
* David Kennedy <dkennedy@tinytoad.com>
* Gildas Bazin <gbazin@
netcourrier.com
>
* Gildas Bazin <gbazin@
videolan.org
>
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General Public License as published by
...
@@ -1037,7 +1037,9 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
...
@@ -1037,7 +1037,9 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
XMapWindow
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
);
XMapWindow
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
);
do
do
{
{
XNextEvent
(
p_vout
->
p_sys
->
p_display
,
&
xevent
);
XWindowEvent
(
p_vout
->
p_sys
->
p_display
,
p_win
->
base_window
,
SubstructureNotifyMask
|
StructureNotifyMask
|
ExposureMask
,
&
xevent
);
if
(
(
xevent
.
type
==
Expose
)
if
(
(
xevent
.
type
==
Expose
)
&&
(
xevent
.
xexpose
.
window
==
p_win
->
base_window
)
)
&&
(
xevent
.
xexpose
.
window
==
p_win
->
base_window
)
)
{
{
...
@@ -1478,9 +1480,9 @@ static void ToggleFullScreen ( vout_thread_t *p_vout )
...
@@ -1478,9 +1480,9 @@ static void ToggleFullScreen ( vout_thread_t *p_vout )
{
{
msg_Dbg
(
p_vout
,
"leaving fullscreen mode"
);
msg_Dbg
(
p_vout
,
"leaving fullscreen mode"
);
XReparentWindow
(
p_vout
->
p_sys
->
p_display
,
XReparentWindow
(
p_vout
->
p_sys
->
p_display
,
p_vout
->
p_sys
->
original_window
.
video_window
,
p_vout
->
p_sys
->
original_window
.
video_window
,
p_vout
->
p_sys
->
original_window
.
base_window
,
0
,
0
);
p_vout
->
p_sys
->
original_window
.
base_window
,
0
,
0
);
p_vout
->
p_sys
->
fullscreen_window
.
video_window
=
None
;
p_vout
->
p_sys
->
fullscreen_window
.
video_window
=
None
;
DestroyWindow
(
p_vout
,
&
p_vout
->
p_sys
->
fullscreen_window
);
DestroyWindow
(
p_vout
,
&
p_vout
->
p_sys
->
fullscreen_window
);
...
...
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