output: introduce state struct
This simplifies the handling of the current/pending tags and will be used in the future for atomic layout updates involving layer surface exclusive zones.
This commit is contained in:
@ -78,5 +78,5 @@ pub fn sendViewTags(self: Self) void {
|
||||
|
||||
/// Send the currently focused tags of the output to the client.
|
||||
pub fn sendFocusedTags(self: Self) void {
|
||||
c.zriver_output_status_v1_send_focused_tags(self.wl_resource, self.output.current_focused_tags);
|
||||
c.zriver_output_status_v1_send_focused_tags(self.wl_resource, self.output.current.tags);
|
||||
}
|
||||
|
Reference in New Issue
Block a user