root: stop tracking xwayland views in transactions

Frame perfection for xwayland views would require too much complexity
to support and would bleed all over the codebase.
This commit is contained in:
Isaac Freund
2020-12-29 20:38:30 +01:00
parent 055fba5c3c
commit a098bbe03a
3 changed files with 7 additions and 16 deletions

View File

@ -355,7 +355,7 @@ fn commitTransaction(self: *Self) void {
}
defer view_it = view_node.next;
if (!view.shouldTrackConfigure() and view.pending_serial != null) continue;
if (view.pending_serial != null and !view.shouldTrackConfigure()) continue;
// Apply pending state of the view
view.pending_serial = null;