[−][src]Trait wlroots::output::Handler
Provided Methods
fn on_frame(&mut self, compositor_handle: Handle, output_handle: Handle)
Called every time the output frame is updated.
fn on_mode_change(&mut self, compositor_handle: Handle, output_handle: Handle)
Called every time the output mode changes.
fn on_enable(&mut self, compositor_handle: Handle, output_handle: Handle)
Called every time the output is enabled.
fn on_scale_change(&mut self, compositor_handle: Handle, output_handle: Handle)
Called every time the output scale changes.
fn on_transform(&mut self, compositor_handle: Handle, output_handle: Handle)
Called every time the output transforms.
fn on_buffers_swapped(
&mut self,
compositor_handle: Handle,
output_handle: Handle
)
&mut self,
compositor_handle: Handle,
output_handle: Handle
)
Called every time the buffers are swapped on an output.
fn needs_swap(&mut self, compositor_handle: Handle, output_handle: Handle)
Called every time the buffers need to be swapped on an output.
fn destroyed(&mut self, compositor_handle: Handle, output_handle: Handle)
Called when an output is destroyed (e.g. unplugged).