https://bugs.winehq.org/show_bug.cgi?id=51526
Gabriel Ivăncescu gabrielopcode@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #70674|0 |1 is obsolete| |
--- Comment #7 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Created attachment 70678 --> https://bugs.winehq.org/attachment.cgi?id=70678 Prevent the WM from resizing large windows
Actually, Zhiyi Zhang had this interesting idea to set the size hints for such large windows to disallow the WM from resizing them. This actually seems to work, here's an attached diff.
There's only one problem though: this probably means that the user won't be able to resize the window, though I haven't tested it, by e.g. dragging the border (MWM_FUNC_RESIZE is still set though). I don't think there's a way around it, and it's unlikely for someone to care about it if the window is so large to begin with. This is simply due to difference between Windows and X11 here. Windows doesn't touch large windows (that go beyond the work area), while WMs do without this hint.
I don't know if it's suitable for upstream but at least it's much nicer than other hacks. I'll try to write some tests first so, if it does get accepted, it won't regress.