misterhackerman

Results 13 comments of misterhackerman

Thanks for the response. doing this ( setting zoom to Actual size, and locking zoom), solves one problem but it doesn't scale the window to fit the image)

i have created a pull request that hopefully fixes your problem. please check it on my fork to see if it works correctly.

I have added the line, recompiled and It worked like a charm, thanks you brother. you are amazing.

After I added the line, i noticed a weird behaviour, the window size gets smaller each time i toggle app fullscreen video: https://github.com/user-attachments/assets/ccbb6167-f249-4932-b483-6ecad1525573 the window becomes smaller each time i...

I think you meant `resizeclient(c, c->x, c->y, c->w + 2 * c->bw, c->h + 2 * c->bw);` i tried this, and the one you have written, none of those worked,...

I think it also wants the gapps, i don't know the pointers -> something for them? :/ I'm new to C

``` #define WIDTH(X) ((X)->w + 2 * (X)->bw + gappx) #define HEIGHT(X) ((X)->h + 2 * (X)->bw + gappx) resizeclient(c, c->x, c->y, WIDTH(c), HEIGHT(c));

It worked finally: ```c resizeclient(c, c->x, c->y, c->w - gappx, c->h - gappx); arrange(c->mon); ``` Edit: Actually this fixed it: ```c arrange(c->mon) ``` Does this approach have any downsides?

Sure that would be magnificent.