-
Notifications
You must be signed in to change notification settings - Fork 166
Description
tl;dr - Is it possible to add a flag that disables attempts to automatically resize the window?
Version v3.11.1 introduced very visible image flashing in slideshow mode.
As I understand it, that's the one mentioned in release notes as "slightly more visible flashing" and "While this behaviour can be annoying, it is certainly less annoying than incorrect image offets". I'm using a tiling WM (Xmonad) and a low-latency display, and I'd like to cast my vote: this behaviour is extremely annoying, almost painful for me. And it breaks a use-case when you try to compare two similar images by switching between them back and forth.
Perhaps it's possible to accomodate tiling window managers by adding an option to disable automatic window resizing?
I'm opening this issue to discuss this new option as suggested by "Contributing" section, but I have a PR ready to go as well. It's basically a one-line change:
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -928,7 +928,7 @@ void winwidget_resize(winwidget winwid, int w, int h, int force_resize)
D((" x %d y %d w %d h %d\n", attributes.x, attributes.y, winwid->w,
winwid->h));
- if ((opt.geom_flags & (WidthValue | HeightValue)) && !force_resize) {
+ if (((opt.geom_flags & (WidthValue | HeightValue)) || opt.no_auto_resize) && !force_resize) {