feat(ui): include compositor info with multigrid

Provide compositor information, like composition index and absolute
position.
This commit is contained in:
Fred Sundvik
2024-11-04 20:49:45 +02:00
committed by bfredl
parent c58c650adf
commit f29856d034
13 changed files with 666 additions and 397 deletions

View File

@@ -953,11 +953,13 @@ function Screen:_handle_grid_resize(grid, width, height)
}
end
function Screen:_handle_msg_set_pos(grid, row, scrolled, char)
function Screen:_handle_msg_set_pos(grid, row, scrolled, char, zindex, compindex)
self.msg_grid = grid
self.msg_grid_pos = row
self.msg_scrolled = scrolled
self.msg_sep_char = char
self.msg_zindex = zindex
self.msg_compindex = compindex
end
function Screen:_handle_flush() end