Skip to content

Draft: Disable "perfect" Xwayland window resizing

Vlad Zahorodnii requested to merge work/zzag/xwayland-perfect-resizing into master

There are issues with _XWAYLAND_ALLOW_COMMITS in Xwayland. Specifically, the xwl_present_flip() function can commit the wl_surface when surface commits are blocked. This needs an upstream fix.

Until then, this change hides the "perfect" Xwayland window resizing behind an environment variable.


Q: Should the relevant changes be reverted instead?
A: No, I don't think so. The changes that !6406 (merged) introduced are needed in either case. The only relevant part here is how the X requests and surface commits are ordered, currently the _XWAYLAND_ALLOW_COMMITS property is used for that purpose.

Draft: this needs to be merged if no solution is found by the time 6.3 comes around

Merge request reports

Loading