seat: set focus before starting transactions
Focus was made double-buffered in96a91fd. However, much of the code still behaved as if focus was separate from the transaction system. This commit completes the work started in96a91fdand ensures that focus is applied consistently in a single transaction.
This commit is contained in:
@ -241,8 +241,4 @@ fn commitTransaction(self: *Self) void {
|
||||
|
||||
if (view_tags_changed) output.sendViewTags();
|
||||
}
|
||||
|
||||
// Iterate over all seats and update focus
|
||||
var it = self.server.input_manager.seats.first;
|
||||
while (it) |seat_node| : (it = seat_node.next) seat_node.data.focus(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user