Ignore "Keep plugin windows on top" setting when on wayland#7901
Ignore "Keep plugin windows on top" setting when on wayland#7901michaelgregorius merged 2 commits intoLMMS:masterfrom
Conversation
|
@michaelgregorius I was told you may be interested in testing this |
michaelgregorius
left a comment
There was a problem hiding this comment.
Looks good and fixes the problem for me.
It might be considered to move the functionality to detect if LMMS is running under Wayland in a helper class though in case it is needed in more places.
|
thanks for testing. I'm not sure it's worth making a new file just for this though, as it would be a whole new file and/or class just to contain one function which is 1 line long. |
It depends a bit on in how many other places the check might show up. There is already quite a list of issues related to Wayland: https://github.com/LMMS/lmms/issues?q=is%3Aissue%20state%3Aopen%20wayland It would also be better for consistency to put it into a shared function/method. One advantage would be that the check above could be changed/adjusted if necessary without having to touch several places in case the raw check above proliferates through the code. However, it is not the most critical thing for now. |
I couldn't find any other matches for |
|
Thanks for adding the method! Looks good to me now! 👍 I think this can be merged as is. |
|
Great! Could you please merge? |
|
Ah, sorry @AW1534, I thought you had merge permissions because you are shown as a member. Will merge... |
Fix a crash that occurs when running under Wayland and when loading a VST plugin with the option "Keep plugin windows on top when not embedded" enabled.
Fixes #7896