mirror of https://github.com/encounter/SDL.git
wayland: Avoid overwriting xdg_output position with wl_output position
This commit is contained in:
parent
40417b188a
commit
5655be1558
|
@ -389,7 +389,7 @@ display_handle_geometry(void *data,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Apply the change from wl-output only if xdg-output is not supported */
|
/* Apply the change from wl-output only if xdg-output is not supported */
|
||||||
if (driverdata->has_logical_position) {
|
if (!driverdata->has_logical_position) {
|
||||||
driverdata->x = x;
|
driverdata->x = x;
|
||||||
driverdata->y = y;
|
driverdata->y = y;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue