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
1388cdea
Commit
1388cdea
authored
13 years ago
by
Yu-Jie Lin
Browse files
Options
Downloads
Patches
Plain Diff
allow multiple modifier
Signed-off-by:
Yu-Jie Lin
<
livibetter@gmail.com
>
parent
94c0b6e4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/keyevents.c
+7
-7
7 additions, 7 deletions
src/keyevents.c
with
7 additions
and
7 deletions
src/keyevents.c
+
7
−
7
View file @
1388cdea
...
...
@@ -50,22 +50,22 @@ static void feh_set_parse_kb_partial(fehkey *key, int index, char *ks) {
return
;
}
if
(
ks
[
1
]
==
'-'
)
{
switch
(
ks
[
0
])
{
while
(
cur
[
1
]
==
'-'
)
{
switch
(
cur
[
0
])
{
case
'C'
:
mod
=
ControlMask
;
mod
|
=
ControlMask
;
break
;
case
'1'
:
mod
=
Mod1Mask
;
mod
|
=
Mod1Mask
;
break
;
case
'4'
:
mod
=
Mod4Mask
;
mod
|
=
Mod4Mask
;
break
;
default:
weprintf
(
"keys: invalid modifier %c in %s"
,
ks
[
0
],
ks
);
weprintf
(
"keys: invalid modifier %c in %s"
,
cur
[
0
],
ks
);
break
;
}
cur
=
ks
+
2
;
cur
+
=
2
;
}
key
->
keysyms
[
index
]
=
XStringToKeysym
(
cur
);
...
...
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