Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
53231d2c
Commit
53231d2c
authored
Oct 29, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB-Window: use keyboard-events variable
parent
c81f6520
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/video_output/xcb/window.c
modules/video_output/xcb/window.c
+5
-2
No files found.
modules/video_output/xcb/window.c
View file @
53231d2c
...
@@ -273,7 +273,10 @@ static int Open (vlc_object_t *obj)
...
@@ -273,7 +273,10 @@ static int Open (vlc_object_t *obj)
wnd
->
sys
=
p_sys
;
wnd
->
sys
=
p_sys
;
p_sys
->
conn
=
conn
;
p_sys
->
conn
=
conn
;
p_sys
->
keys
=
CreateKeyHandler
(
obj
,
conn
);
if
(
var_CreateGetBool
(
obj
,
"keyboard-events"
))
p_sys
->
keys
=
CreateKeyHandler
(
obj
,
conn
);
else
p_sys
->
keys
=
NULL
;
p_sys
->
root
=
scr
->
root
;
p_sys
->
root
=
scr
->
root
;
/* ICCCM
/* ICCCM
...
@@ -605,7 +608,7 @@ static int EmOpen (vlc_object_t *obj)
...
@@ -605,7 +608,7 @@ static int EmOpen (vlc_object_t *obj)
p_sys
->
root
=
geo
->
root
;
p_sys
->
root
=
geo
->
root
;
free
(
geo
);
free
(
geo
);
if
(
var_CreateGet
Integer
(
obj
,
"vout-event"
)
!=
3
)
/* FIXME: <- cleanup */
if
(
var_CreateGet
Bool
(
obj
,
"keyboard-events"
))
{
{
p_sys
->
keys
=
CreateKeyHandler
(
obj
,
conn
);
p_sys
->
keys
=
CreateKeyHandler
(
obj
,
conn
);
if
(
p_sys
->
keys
!=
NULL
)
if
(
p_sys
->
keys
!=
NULL
)
...
...
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