Currently if you try to run wingpanel under Wayland, it ends up as the minimum size because get_primary_monitor returns null on Wayland.
We'll need to add some sort of interface for getting the primary monitor in the future, but this at least gets wingpanel to the correct size (and hence usable) on single-monitor machines for now. It might do the wrong thing on multi monitor machines depending on the order.
Currently if you try to run wingpanel under Wayland, it ends up as the minimum size because
get_primary_monitor
returnsnull
on Wayland.We'll need to add some sort of interface for getting the primary monitor in the future, but this at least gets wingpanel to the correct size (and hence usable) on single-monitor machines for now. It might do the wrong thing on multi monitor machines depending on the order.