This commit is contained in:
IoIxD
2026-01-04 13:06:36 -07:00
parent d784770ca9
commit 54cdd85015
6 changed files with 36 additions and 4 deletions

View File

@@ -1344,6 +1344,10 @@ static MwLL MwLLCreateImpl(MwLL parent, int x, int y, int width, int height) {
memset(r, 0, sizeof(*r));
MwLLCreateCommon(r);
/* Wayland does not report global coordinates ever. Compositors are not even expected to have knowledge of this.
*/
r->common.coordinate_type = MwCoordinatesLocal;
r->common.type = MwLLBackendWayland;
if(width < 2) width = 2;