Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Title ¶
type Title struct {
// contains filtered or unexported fields
}
Title shows the focused-view title on the bar of the output where that view actually lives. River's zriver_status_manager_v1 reports the focused view per *seat* (one title at a time, no per-output attribution). To make per-output titles work we maintain a shared map[output]title that's updated whenever a focused_view event arrives — we attribute it to whichever output is currently seat-focused.
All Title instances share that map; each renders only its own slot.
func New ¶
New builds a per-output title module. The output is matched via wl_output pointer equality against the seat_status events.
Click to show internal directories.
Click to hide internal directories.