Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
0ee1c43f
Commit
0ee1c43f
authored
Oct 09, 2009
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove debug left over in [
b3a591d0
]
parent
e1b52e49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
modules/control/globalhotkeys/xcb.c
modules/control/globalhotkeys/xcb.c
+0
-4
No files found.
modules/control/globalhotkeys/xcb.c
View file @
0ee1c43f
...
@@ -332,14 +332,11 @@ static void Mapping( intf_thread_t *p_intf )
...
@@ -332,14 +332,11 @@ static void Mapping( intf_thread_t *p_intf )
#else
#else
xcb_keycode_t
*
p_keys
=
xcb_key_symbols_get_keycode
(
xcb_keycode_t
*
p_keys
=
xcb_key_symbols_get_keycode
(
p_sys
->
p_symbols
,
GetX11Key
(
i_vlc_key
&
~
KEY_MODIFIER
)
);
p_sys
->
p_symbols
,
GetX11Key
(
i_vlc_key
&
~
KEY_MODIFIER
)
);
printf
(
"%s -> %x
\n
"
,
p_hotkey
->
psz_action
,
i_vlc_key
);
printf
(
"got %p
\n
"
,
p_keys
);
if
(
!
p_keys
)
if
(
!
p_keys
)
continue
;
continue
;
#endif
#endif
const
unsigned
i_modifier
=
GetX11Modifier
(
p_sys
->
p_connection
,
const
unsigned
i_modifier
=
GetX11Modifier
(
p_sys
->
p_connection
,
p_sys
->
p_symbols
,
i_vlc_key
&
KEY_MODIFIER
);
p_sys
->
p_symbols
,
i_vlc_key
&
KEY_MODIFIER
);
printf
(
"modif = %d
\n
"
,
i_modifier
);
const
size_t
max
=
sizeof
(
p_x11_modifier_ignored
)
/
const
size_t
max
=
sizeof
(
p_x11_modifier_ignored
)
/
sizeof
(
*
p_x11_modifier_ignored
);
sizeof
(
*
p_x11_modifier_ignored
);
...
@@ -385,7 +382,6 @@ static void Register( intf_thread_t *p_intf )
...
@@ -385,7 +382,6 @@ static void Register( intf_thread_t *p_intf )
#else
#else
for
(
int
j
=
0
;
p_map
->
p_keys
[
j
]
!=
XCB_NO_SYMBOL
;
j
++
)
for
(
int
j
=
0
;
p_map
->
p_keys
[
j
]
!=
XCB_NO_SYMBOL
;
j
++
)
{
{
printf
(
"grabbing %d (j=%d, map = %d)
\n
"
,
p_map
->
p_keys
[
j
],
j
,
i
);
xcb_grab_key
(
p_sys
->
p_connection
,
true
,
p_sys
->
root
,
xcb_grab_key
(
p_sys
->
p_connection
,
true
,
p_sys
->
root
,
p_map
->
i_modifier
,
p_map
->
p_keys
[
j
],
p_map
->
i_modifier
,
p_map
->
p_keys
[
j
],
XCB_GRAB_MODE_ASYNC
,
XCB_GRAB_MODE_ASYNC
);
XCB_GRAB_MODE_ASYNC
,
XCB_GRAB_MODE_ASYNC
);
...
...
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