Skip to content

Commit

Permalink
fix misleading warning
Browse files Browse the repository at this point in the history
  • Loading branch information
feschber committed Jan 18, 2024
1 parent fad48c2 commit b3caba9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/producer/wayland.rs
Original file line number Diff line number Diff line change
Expand Up @@ -719,8 +719,10 @@ impl Dispatch<wl_pointer::WlPointer, ()> for State {
* it is impossible to grab it again (since the pointer
* lock, relative pointer,... objects are still in place)
*/
if app.pointer_lock.is_some() {
log::warn!("compositor released mouse");
}
app.ungrab();
log::warn!("compositor released mouse");
}
wl_pointer::Event::Button {
serial: _,
Expand Down

0 comments on commit b3caba9

Please sign in to comment.