fix misleading warning

This commit is contained in:
Ferdinand Schober
2024-01-18 22:22:27 +01:00
parent fad48c2504
commit b3caba99ab

View File

@@ -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: _,