Skip to content

Commit

Permalink
Fixup example after update to sctk 0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex committed Jun 29, 2024
1 parent c2d7818 commit af39ca8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions examples/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,24 @@ impl CompositorHandler for SimpleWindow {
) {
self.draw(conn, qh);
}

fn surface_enter(
&mut self,
_conn: &Connection,
_qh: &QueueHandle<Self>,
_surface: &wl_surface::WlSurface,
_output: &wl_output::WlOutput,
) {
}

fn surface_leave(
&mut self,
_conn: &Connection,
_qh: &QueueHandle<Self>,
_surface: &wl_surface::WlSurface,
_output: &wl_output::WlOutput,
) {
}
}

impl OutputHandler for SimpleWindow {
Expand Down

0 comments on commit af39ca8

Please sign in to comment.