-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added --begin-top option to force view point at the top of the image #278
base: master
Are you sure you want to change the base?
Conversation
This will break automatic window resizing for any non tiling window manager. |
Thanks for clarifying it, I revert the if-else case change, so everything should work as usually if non tiling window managers are used. |
Added a second argument --static-window to disable automatically window resizing if a new image is displayed, cause otherwise the image will be displayed sometimes twice if a tiling window manager is used. First big for a few milliseconds, then small (because the wm resizes the window). |
I get to see the flickering you describe only when I manually disable the "fixed geometry mode" (by pressing the |
I am using a tiling window manager and I have the exact opposite effect. If I run feh with a bunch of images e.g. btw I think the description for -g is not correct. From the manpage |
You're right! My bad. I was testing while my default theme was active. I can now reproduce the issue. I think this pull request is going to fix your issue: #364 Could you give it a try?
We should create a new ticket for that issue: https://github.com/derf/feh/issues |
a6a0f37
to
c097db9
Compare
c097db9
to
4ec93c2
Compare
What do you think about giving the user even more options to specify the alignment of the image? Like |
Something like |
I think the image alignment should happen here: https://github.com/ulteq/feh/blob/simplify-zoom/src/winwidget.c#L452-L453
Sounds great. |
Sounds great. |
I had a convenient combination of time and motivation today and implemented it in master, see the commit referenced above. It adds This will probably make merging #364 slightly more work for me and/or @ulteq (sorry about that), but that's still better than piling up even more open pull requests I guess :) Do any of you see a case where the width_x_height part of the geometry string would be useful? I don't, and if you don't see one either I'll rename the option to |
No.
Would have been my suggestion as well. |
Feh automatically shows the centre of the image after zooming into the image. This option forces feh to set the view point after zooming at the top.I also comment out one if-else case that causes extreme fast switching between the same image (first big then small, if auto-zoom is on in sideshow and the user skips between images).