diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-09-24 11:04:30 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-09-26 13:45:03 +0400 |
| commit | c422fdab0fd19f61ee5ad73a46312d4284641f3c (patch) | |
| tree | 46b676c5d81845bcebae397c330d41f2c0e8a099 /src/handlers | |
| parent | f58e56d65ab0c41facc72b75e8a85d64b54963ef (diff) | |
| download | niri-c422fdab0fd19f61ee5ad73a46312d4284641f3c.tar.gz niri-c422fdab0fd19f61ee5ad73a46312d4284641f3c.tar.bz2 niri-c422fdab0fd19f61ee5ad73a46312d4284641f3c.zip | |
Update Smithay
Diffstat (limited to 'src/handlers')
| -rw-r--r-- | src/handlers/compositor.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/handlers/compositor.rs b/src/handlers/compositor.rs index 4ddde3fb..404f98a4 100644 --- a/src/handlers/compositor.rs +++ b/src/handlers/compositor.rs @@ -48,9 +48,10 @@ impl CompositorHandler for State { .niri .event_loop .insert_source(source, move |_, _, data| { + let display_handle = data.state.niri.display_handle.clone(); data.state .client_compositor_state(&client) - .blocker_cleared(&mut data.state, &data.display.handle()); + .blocker_cleared(&mut data.state, &display_handle); Ok(()) }); if res.is_ok() { |
