brummer10 / Mamba

Virtual Midi keyboard and Midi Live Looper for Jack Audio Connection Kit
BSD Zero Clause License
75 stars 5 forks source link

GUI resize issue #25

Closed mxmilkiib closed 3 years ago

mxmilkiib commented 3 years ago

Resizing the window (awesomewm) upsets the UI;

image

brummer10 commented 3 years ago

I don't have awesomewm installed, just guess, is it resized in height or just stretched in width?

mxmilkiib commented 3 years ago

Both. I think it respects the ICCCM size hint https://github.com/awesomeWM/awesome/search?q=size_hints_honor which I know mpv uses.

Fullscreen is chibi; image

brummer10 commented 3 years ago

Mamba set in XSetWMNormalHints a fixed height, only scaling in width is allowed. So it seems awesomewm didn't respect ICCCM. This is no issue with any other window manager I've tested so far.

brummer10 commented 3 years ago

However, thanks for the report. And because it is better to handle even unexpected scaling, I've implement a fix for that now in mamba. Let me know please if it fix the issue for you.

mxmilkiib commented 3 years ago

That all resizes perfectly now :)