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
82f6f0a4
Commit
82f6f0a4
authored
9 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
winwidget: resize: only check scale_down when not in fullscreen mode (closes #192)
parent
849103d8
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/winwidget.c
+2
-2
2 additions, 2 deletions
src/winwidget.c
with
6 additions
and
2 deletions
ChangeLog
+
4
−
0
View file @
82f6f0a4
git HEAD
* Fix --scale-down breaking image centering in fullscreen mode
Sun, 17 May 2015 20:40:36 +0200 Daniel Friesel <derf+feh@finalrewind.org>
* Release v2.13
...
...
This diff is collapsed.
Click to expand it.
src/winwidget.c
+
2
−
2
View file @
82f6f0a4
...
...
@@ -443,8 +443,8 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias)
feh_calc_needed_zoom
(
&
(
winwid
->
zoom
),
winwid
->
im_w
,
winwid
->
im_h
,
winwid
->
w
,
winwid
->
h
);
if
(
resize
&&
!
opt
.
scale_down
&&
(
winwid
->
full_screen
||
(
opt
.
geom_flags
&
(
WidthValue
|
HeightValue
))))
{
if
(
resize
&&
(
winwid
->
full_screen
||
(
!
opt
.
scale_down
&&
(
opt
.
geom_flags
&
(
WidthValue
|
HeightValue
))))
)
{
int
smaller
;
/* Is the image smaller than screen? */
int
max_w
=
0
,
max_h
=
0
;
...
...
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