Display cover art image with the correct size on multi-monitor setups #2915
When clicking on the cover art of the playing song, the image is enlarged and fills approximately half of the width and height of the monitor. This seems to be the intended behavior.
On multi-monitor setups, the image does not necessarily enlarge in the same way. I have multiple monitors with varying sizes and orientations, and the image always fills to the edge of the current monitor. The reason for this is that the dimensions of
A better way is to use the current monitor as a base when calculating the desired width and height of the image, which is what this commit does.
Leaving the patch here in case someone wants to have a say in this.
As opposed to the Gdk.Screen object, which amounts to a giant screen in multi-monitor setups.