mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-12 04:01:29 +03:00
fix misleading warning
This commit is contained in:
@@ -719,8 +719,10 @@ impl Dispatch<wl_pointer::WlPointer, ()> for State {
|
|||||||
* it is impossible to grab it again (since the pointer
|
* it is impossible to grab it again (since the pointer
|
||||||
* lock, relative pointer,... objects are still in place)
|
* lock, relative pointer,... objects are still in place)
|
||||||
*/
|
*/
|
||||||
|
if app.pointer_lock.is_some() {
|
||||||
|
log::warn!("compositor released mouse");
|
||||||
|
}
|
||||||
app.ungrab();
|
app.ungrab();
|
||||||
log::warn!("compositor released mouse");
|
|
||||||
}
|
}
|
||||||
wl_pointer::Event::Button {
|
wl_pointer::Event::Button {
|
||||||
serial: _,
|
serial: _,
|
||||||
|
|||||||
Reference in New Issue
Block a user