1
0
mirror of https://gitlab.gnome.org/GNOME/libmks.git synced 2025-04-14 08:27:16 +00:00
Bilal Elmoussaoui 4f08953fb0 dmabuf: Avoid division by 0
When opening mks for an already running VM, the QEMU dbus backend has no
way to tell to the VM refresh the display and submit a new UpdateDMABuf.

So by the time size_allocate is called, the height and width of the paintable are
still set to 0.

This should fix the size allocate warning we see now until we figure out a proper
fix from the QEMU side.
2023-08-29 11:42:15 +02:00
..
2023-02-08 18:06:08 -08:00
2023-06-02 10:18:05 -07:00
2023-06-15 16:09:22 -07:00
2023-06-01 12:04:35 +01:00