Anselm R Garbe wrote: > Why adding instance/class exceptions for resizehints? Do you have an example > where this should be taken into account?
Heyho Anselm, quoting myself: Markus Teich wrote: > - resizehints per client (+1 SLoC): Some old version of mplayer "forced" me to > write this. I don't know if this is still a problem, but the patch might be > usefull regardless. Basically mplayer needed the setting to be inverse to the setting for all other clients to behave how I wanted. I think I wanted mplayer to fill the whole tile it was assigned to (producing black bars top+bottom or left+right), but could only achieve that by enabling resizehints for mplayer. However that would also introduce unwanted behavior for other programs, so I wrote this patch. Nowadays I use mpv instead of mplayer and could not reproduce this issue with mpv. I didn't and don't have time to investigate if that was/is a bug in mplayer, so if you think it could be useful in other cases, apply it, if you think it was just a bug in mplayer, leave it out. --Markus