Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
feh
Commits
bb46793c
Commit
bb46793c
authored
14 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
Patch by aaptel: Support numpad keys for actions
parent
d8d22aa3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+4
-0
4 additions, 0 deletions
ChangeLog
src/keyevents.c
+10
-0
10 additions, 0 deletions
src/keyevents.c
with
14 additions
and
0 deletions
ChangeLog
+
4
−
0
View file @
bb46793c
git HEAD
* Patch by aaptel: Support numpad keys for actions
Thu May 6 08:34:39 CEST 2010 Daniel Friesel <derf@chaosdorf.de>
* Release v1.5
...
...
This diff is collapsed.
Click to expand it.
src/keyevents.c
+
10
−
0
View file @
bb46793c
...
...
@@ -228,33 +228,43 @@ void feh_event_handle_keypress(XEvent * ev)
feh_event_invoke_action
(
winwid
,
opt
.
actions
[
0
]);
break
;
case
XK_0
:
case
XK_KP_0
:
feh_event_invoke_action
(
winwid
,
opt
.
actions
[
0
]);
break
;
case
XK_1
:
case
XK_KP_1
:
feh_event_invoke_action
(
winwid
,
opt
.
actions
[
1
]);
break
;
case
XK_2
:
case
XK_KP_2
:
feh_event_invoke_action
(
winwid
,
opt
.
actions
[
2
]);
break
;
case
XK_3
:
case
XK_KP_3
:
feh_event_invoke_action
(
winwid
,
opt
.
actions
[
3
]);
break
;
case
XK_4
:
case
XK_KP_4
:
feh_event_invoke_action
(
winwid
,
opt
.
actions
[
4
]);
break
;
case
XK_5
:
case
XK_KP_5
:
feh_event_invoke_action
(
winwid
,
opt
.
actions
[
5
]);
break
;
case
XK_6
:
case
XK_KP_6
:
feh_event_invoke_action
(
winwid
,
opt
.
actions
[
6
]);
break
;
case
XK_7
:
case
XK_KP_7
:
feh_event_invoke_action
(
winwid
,
opt
.
actions
[
7
]);
break
;
case
XK_8
:
case
XK_KP_8
:
feh_event_invoke_action
(
winwid
,
opt
.
actions
[
8
]);
break
;
case
XK_9
:
case
XK_KP_9
:
feh_event_invoke_action
(
winwid
,
opt
.
actions
[
9
]);
break
;
case
XK_KP_Left
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment